zephyr/cmake
Sebastian Bøe 13a6840261 cmake: Re-organize syscall generation wrt. the build system
This commit fixes
https://github.com/zephyrproject-rtos/zephyr/issues/5008.

It does so by splitting up gen_syscalls.py into two scripts with a
json metadata file to communicate syscall metadata between them. The
parsing script parses header files from include/ and writes syscall
metadata to a file if the contents changed. The generation script
reads from the json file and generates syscall code.

The build system DAG now looks like this:

always_rebuild -> json -> syscalls -> offset.o

The script for generating json will do so only if the content changes,
this ensures that the entire DAG does not always do a full rebuild.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2017-12-04 10:51:07 -08:00
..
app cmake: Re-organize syscall generation wrt. the build system 2017-12-04 10:51:07 -08:00
flash cmake: flash: Remove fake path to zephyr_flash_debug.py 2017-11-14 12:07:44 -06:00
qemu cmake: qemu: Restore QEMU_PTY/QEMU_PIPE option handling. 2017-11-27 22:33:56 -05:00
reports
test
usage
ccache.cmake
extensions.cmake Revert "cmake: add zephyr_cc_option_nocheck" 2017-11-29 09:51:55 -05:00
extra_flags.cmake cmake: Refactored EXTRA_FLAGS code into a dedicated script 2017-11-15 19:47:44 -05:00
fpu-for-gcc-m-cpu.cmake
gcc-m-cpu.cmake
hex.cmake cmake: fixed version handling 2017-11-08 20:00:22 -05:00
host-tools-zephyr.cmake cmake: Fix SDK-less builds 2017-11-13 13:14:32 -05:00
host-tools.cmake cmake: Remove the PREBUILT_HOST_TOOLS variable 2017-11-17 17:55:26 -05:00
kconfig.cmake cmake: Move syscall_macros.h generation into the build stage 2017-11-30 06:49:33 -05:00
pristine.cmake
toolchain-espressif.cmake
toolchain-gcc.cmake cmake: Pass GDB env var to flasher script 2017-11-08 20:00:22 -05:00
toolchain-gccarmemb.cmake
toolchain-issm.cmake
toolchain-xtools.cmake
toolchain-zephyr.cmake
toolchain.cmake
version.cmake release: make cmake happy about version 2017-11-19 23:16:03 -05:00