build: support out of tree SoC definition

Add the glue to make this work with SoC code outside of the tree.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-09-04 14:34:06 -05:00
commit 96455d5881
7 changed files with 17 additions and 12 deletions

View file

@ -2,11 +2,11 @@
choice
prompt "SoC/CPU/Configuration Selection"
source "soc/$ENV_VAR_ARCH/*/Kconfig.soc"
source "$(SOC_DIR)/$(ARCH)/*/Kconfig.soc"
endchoice
menu "Hardware Configuration"
osource "soc/$ENV_VAR_ARCH/*/Kconfig"
osource "$(SOC_DIR)/$(ARCH)/*/Kconfig"
endmenu