Introduces the ARCH_ROOT argument, similar to BOARD_ROOT and SOC_ROOT.
This enables support for out-of-tree architectures.
The ARCH_ROOT out-of-tree layout is expected to be the following:
* ${ARCH_ROOT}/arch/${ARCH}/
* ${ARCH_ROOT}/include/arch/${ARCH}/ (Optional)
Signed-off-by: Klaus Petersen <kape@oticon.com>
4 lines
118 B
CMake
4 lines
118 B
CMake
add_definitions(-D__ZEPHYR_SUPERVISOR__)
|
|
|
|
add_subdirectory(common)
|
|
add_subdirectory(${ARCH_DIR}/${ARCH} arch/${ARCH})
|