zephyr/kernel
Carles Cufi 244f826e3c cmake: remove _if_kconfig() functions
This set of functions seem to be there just because of historical
reasons, stemming from Kbuild. They are non-obvious and prone to errors,
so remove them in favor of the `_ifdef()` ones with an explicit
`CONFIG_` condition.

Script used:

git grep -l _if_kconfig | xargs sed -E -i
"s/_if_kconfig\(\s*(\w*)/_ifdef(CONFIG_\U\1\E \1/g"

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-08-01 12:35:20 +02:00
..
include kernel: z_interrupt_stacks are now kernel stacks 2020-07-30 21:11:14 -04:00
atomic_c.c
CMakeLists.txt cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
compiler_stack_protect.c
device.c
errno.c
fatal.c
futex.c
idle.c
init.c kernel: idle thread stacks are kernel-only 2020-07-30 21:11:14 -04:00
Kconfig kernel: overhaul stack specification 2020-07-30 21:11:14 -04:00
Kconfig.power_mgmt
kheap.c
mailbox.c
mem_domain.c
mem_slab.c
mempool_sys.c
mempool.c
mmu.c
msg_q.c
mutex.c
pipes.c
poll.c
queue.c
sched.c
sem.c
smp.c kernel: smp: avoid identifier collisions 2020-07-25 21:26:15 -04:00
stack.c
system_work_q.c kernel: sys_workq thread stack is kernel-only 2020-07-30 21:11:14 -04:00
thread_abort.c
thread.c kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
timeout.c kernel: timeout: avoid identifier collisions 2020-07-25 21:26:15 -04:00
timer.c
userspace_handler.c
userspace.c kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
version.c
work_q.c