Build: Added support for out-of-tree Arch
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>
This commit is contained in:
parent
9f1acfe2fd
commit
c66cb76fed
6 changed files with 13 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
add_definitions(-D__ZEPHYR_SUPERVISOR__)
|
||||
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(${ARCH})
|
||||
add_subdirectory(${ARCH_DIR}/${ARCH} arch/${ARCH})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue