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