bb3946666f
Include directories for ${ARCH} is not specified correctly. Several places in Zephyr, the include directories are specified as: ${ZEPHYR_BASE}/arch/${ARCH}/include the correct line is: ${ARCH_DIR}/${ARCH}/include to correctly support out of tree archs. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
12 lines
245 B
CMake
12 lines
245 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
add_definitions(-D__ZEPHYR_SUPERVISOR__)
|
|
|
|
include_directories(
|
|
${ZEPHYR_BASE}/kernel/include
|
|
${ARCH_DIR}/${ARCH}/include
|
|
)
|
|
|
|
add_subdirectory(common)
|
|
add_subdirectory(${ARCH_DIR}/${ARCH} arch/${ARCH})
|