zephyr/kernel
Sebastian Bøe 1b86fb9da3 cmake: Use variables for target names
There is an effort underway to make most of the Zephyr build script's
reentrant. Meaning, the build scripts can be executed multiple times
during the same CMake invocation.

Reentrancy enables several use-cases, the motivating one is the
ability to build several Zephyr executables, or images, for instance a
bootloader and an application.

For build scripts to be reentrant they cannot be directly referencing
global variables, like target names, but must instead reference
variables, which can vary from entry to entry.

Therefore, in this patch, we replace global targets with variables.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2019-01-19 07:21:55 -05:00
..
include kernel/swap: Simply/robustify return value handling 2019-01-11 15:18:52 -05:00
atomic_c.c
CMakeLists.txt cmake: Use variables for target names 2019-01-19 07:21:55 -05:00
compiler_stack_protect.c
device.c
errno.c
idle.c
init.c Gcov: Enable Code coverage reporting over UART. 2019-01-16 06:12:33 -05:00
int_latency_bench.c
Kconfig Gcov: Added Kconfig changes needed by Gcov. 2019-01-16 06:12:33 -05:00
Kconfig.power_mgmt
mailbox.c
mem_domain.c
mem_slab.c
mempool.c
msg_q.c kernel: Add missing include 2019-01-11 15:18:52 -05:00
mutex.c
pipes.c kernel: Add missing include 2019-01-11 15:18:52 -05:00
poll.c
queue.c kernel: Add missing include 2019-01-11 15:18:52 -05:00
sched.c kernel/sched: SWAP_NONATOMIC workaround for timeslicing 2019-01-15 13:06:35 +01:00
sem.c
smp.c
stack.c kernel: Add missing include 2019-01-11 15:18:52 -05:00
system_work_q.c
thread_abort.c
thread.c
timeout.c kernel/timeout: Fix recursive spinlock in z_set_timeout_expiry() 2019-01-18 06:48:51 -05:00
timer.c
userspace_handler.c
userspace.c
version.c
work_q.c