zephyr/kernel
Carles Cufi 61cdcb3383 kernel: Guard SYS_CLOCK_HW_CYCLES_PER_SEC to avoid spurious empty macro
If SYS_CLOCK_EXISTS is not enabled, then the SYS_CLOCK_HW_CYCLES_PER_SEC
still gets created, but with no value. This causes the code generation
in misc/generated/CMakeLists.txt to create an empty assembly macro:

`.equ  CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC,`

which then causes a build error.

Disable SYS_CLOCK_HW_CYCLES_PER_SEC entirely when SYS_CLOCK_EXISTS is
disabled to fix this.

This is a follow-up to 03f46db859.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-06-06 15:01:34 +01:00
..
include kernel: priority_q: fix comparison of int of different signs 2025-05-13 10:05:52 +02:00
paging
atomic_c.c
banner.c
busy_wait.c
CMakeLists.txt
compiler_stack_protect.c
condvar.c
cpu_mask.c
device.c device: Provide de-init device function only if requested 2025-06-03 17:08:50 +02:00
dynamic_disabled.c
dynamic.c
errno.c
events.c
fatal.c
float.c
futex.c
idle.c
init.c kernel/init: Corrected a typo 2025-05-22 23:56:59 +02:00
ipi.c
irq_offload.c
Kconfig kernel: Guard SYS_CLOCK_HW_CYCLES_PER_SEC to avoid spurious empty macro 2025-06-06 15:01:34 +01:00
Kconfig.device device: Provide de-init device function only if requested 2025-06-03 17:08:50 +02:00
Kconfig.init
Kconfig.mem_domain
Kconfig.obj_core
Kconfig.smp
Kconfig.vm
kheap.c
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c
mempool.c
mmu.c kernel: mmu: Added a cast to avoid format warnings when logging 2025-06-04 17:03:13 +02:00
msg_q.c
mutex.c
nothread.c
obj_core.c
pipe.c
pipes.c
poll.c
priority_queues.c
queue.c
sched.c
sem.c
smp.c
spinlock_validate.c
stack.c
system_work_q.c kernel: workq: introduce work timeout: 2025-06-06 08:42:53 +02:00
thread_monitor.c
thread.c
timeout.c
timer.c
timeslicing.c
usage.c
userspace_handler.c
userspace.c kernel: userspace: Fix memory leak in dynamic_object_create 2025-05-20 00:26:30 +01:00
version.c
work.c kernel: workq: introduce work timeout: 2025-06-06 08:42:53 +02:00
xip.c