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>
10 lines
191 B
CMake
10 lines
191 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_sources(ctf_top.c)
|
|
|
|
zephyr_include_directories(
|
|
${ZEPHYR_BASE}/kernel/include
|
|
${ARCH_DIR}/${ARCH}/include
|
|
)
|
|
|
|
zephyr_include_directories(.)
|