2019-04-06 15:08:09 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-08-11 22:40:05 +02:00
|
|
|
# FIXME: SHADOW_VARS: Remove this once we have enabled -Wshadow globally.
|
|
|
|
add_compile_options($<TARGET_PROPERTY:compiler,warning_shadow_variables>)
|
|
|
|
|
2018-03-28 12:00:20 +02:00
|
|
|
add_definitions(-D__ZEPHYR_SUPERVISOR__)
|
|
|
|
|
2019-11-01 12:10:26 +01:00
|
|
|
include_directories(
|
|
|
|
${ZEPHYR_BASE}/kernel/include
|
2020-07-07 08:06:27 +02:00
|
|
|
${ARCH_DIR}/${ARCH}/include
|
2019-11-01 12:10:26 +01:00
|
|
|
)
|
|
|
|
|
2017-10-27 15:43:34 +02:00
|
|
|
add_subdirectory(common)
|
2018-11-15 10:37:46 +01:00
|
|
|
add_subdirectory(${ARCH_DIR}/${ARCH} arch/${ARCH})
|