1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
5project(kernel_common)
6
7if(NOT CONFIG_ARM)
8target_sources(app PRIVATE
9	src/bitfield.c
10  )
11endif()
12if(CONFIG_PRINTK)
13target_sources(app PRIVATE
14	src/printk.c
15  )
16endif()
17target_sources(app PRIVATE
18	src/atomic.c
19	src/bitarray.c
20	src/byteorder.c
21	src/clock.c
22	src/main.c
23	src/timeout_order.c
24	src/multilib.c
25  src/errno.c
26  src/boot_delay.c
27  src/irq_offload.c
28  )
29