mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 10:18:24 +08:00
7bcfdadf81
When compiling the components under the arch directory, the compiler include paths for arch and kernel private headers need to be specified. This was previously done by adding 'zephyr_library_include_directories' to CMakeLists.txt file for every component under the arch directory, and this resulted in a significant amount of duplicate code. This commit uses the CMake 'include_directories' command in the root CMakeLists.txt to simplify specification of the private header include paths for all the arch components. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
19 lines
247 B
CMake
19 lines
247 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(
|
|
thread.c
|
|
cpu_idle.c
|
|
fatal.c
|
|
irq_manage.c
|
|
swap.S
|
|
prep_c.c
|
|
reset.S
|
|
cache.c
|
|
exception.S
|
|
crt0.S
|
|
)
|
|
|
|
zephyr_library_sources_if_kconfig(irq_offload.c)
|