Commit graph

106 commits

Author SHA1 Message Date
Ivailo Monev
4205a2ec19 rework KATIE_SETUP_SOURCES CMake macro
now that the assembler language is enabled in the build system the macro
turned out to be a bit bogus and it has to handle sources control too
because some CPU specifiec sources were, previously, added unconditionally
to targets leading to build failures (especially with assembly).

CPU tests now declare variables that are cached and can be changed by the
user to avoid touching parent scope from the test macros (previously
functions for that reason).

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-10 14:53:19 +02:00
Ivailo Monev
4400040671 fix error detection in headers optimizer cmake file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-21 23:32:05 +02:00
Ivailo Monev
2d2876d7b5 make genmap script python 3 compatible, call it with python interpreter
on freebsd the shebang may not be correct as it, usually, places
files under /usr/local prefix instead of /usr thus calling with
what the PythonInterp cmake module has found is more reliable
cross-platform


Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-19 20:21:22 +02:00
Ivailo Monev
2a89c541b8 report errors from external processes (genmap and unifdef)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-19 20:06:37 +02:00
Ivailo Monev
032124aa48 build native tools when cross-compiling
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-16 00:04:18 +02:00
Ivailo Monev
bfbc380756 initial import
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-10 05:06:13 +02:00