zephyr-kernel-common: Add Board extension support

Add board extension support variables where user can specify the
BOARD_ROOT variable for out-of-tree custom boards.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
This commit is contained in:
Sandeep Gundlupet Raju
2025-08-14 21:54:49 -06:00
committed by Lee Chee Yang
parent bbeeb12eb8
commit f6552b7813

View File

@@ -19,6 +19,11 @@ ZEPHYR_MAKE_OUTPUT ?= "\
EXTRA_OECMAKE = "\
-DZEPHYR_BASE=${ZEPHYR_BASE} \
-DBOARD=${BOARD} \
-DBOARD_DIR=${BOARD_DIR} \
-DARCH_DIR=${ARCH_DIR} \
-DBOARD_ROOT=${BOARD_ROOT} \
-DBOARD_EXTENSION_DIRS=${BOARD_EXTENSION_DIRS} \
-DSOC_ROOT=${SOC_ROOT} \
-DZEPHYR_TOOLCHAIN_VARIANT=${ZEPHYR_TOOLCHAIN_VARIANT} \
-DZEPHYR_MODULES=${ZEPHYR_MODULES} \
"