2018-12-11 23:33:23 +08:00
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
2017-10-27 21:43:34 +08:00
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
2018-10-25 22:54:09 +08:00
|
|
|
project(kernel_common)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2018-02-18 00:02:31 +08:00
|
|
|
if(NOT CONFIG_ARM)
|
|
|
|
target_sources(app PRIVATE
|
|
|
|
src/bitfield.c
|
|
|
|
)
|
|
|
|
endif()
|
2018-04-22 11:27:22 +08:00
|
|
|
if(CONFIG_PRINTK)
|
|
|
|
target_sources(app PRIVATE
|
|
|
|
src/printk.c
|
|
|
|
)
|
|
|
|
endif()
|
2018-02-18 00:02:31 +08:00
|
|
|
target_sources(app PRIVATE
|
|
|
|
src/atomic.c
|
|
|
|
src/byteorder.c
|
|
|
|
src/clock.c
|
|
|
|
src/dlist.c
|
|
|
|
src/intmath.c
|
|
|
|
src/main.c
|
|
|
|
src/slist.c
|
|
|
|
src/timeout_order.c
|
2018-02-18 00:50:39 +08:00
|
|
|
src/multilib.c
|
2019-02-05 22:32:31 +08:00
|
|
|
src/errno.c
|
2019-02-05 22:41:04 +08:00
|
|
|
src/boot_delay.c
|
2018-02-18 00:02:31 +08:00
|
|
|
)
|