soc: support out of dir soc code
Just like boards, support also SoCs out of the tree. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
d7f7324d60
commit
66b524a62a
1 changed files with 3 additions and 0 deletions
|
@ -195,6 +195,9 @@ set(CACHED_BOARD ${BOARD} CACHE STRING "Selected board")
|
|||
if(NOT BOARD_ROOT)
|
||||
set(BOARD_ROOT ${ZEPHYR_BASE})
|
||||
endif()
|
||||
if(NOT SOC_ROOT)
|
||||
set(SOC_ROOT ${ZEPHYR_BASE})
|
||||
endif()
|
||||
|
||||
find_path(BOARD_DIR NAMES "${BOARD}_defconfig" PATHS ${BOARD_ROOT}/boards/*/* NO_DEFAULT_PATH)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue