kconfig: move soc selection to ZEPHYR_BASE/soc/

Rather than do that for each architecture, source SoC Kconfigs where the
code is maintained, under ZEPHYR_BASE/soc.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-09-04 08:32:07 -05:00
commit abcf2ad5a8
10 changed files with 16 additions and 86 deletions

12
soc/Kconfig Normal file
View file

@ -0,0 +1,12 @@
choice
prompt "SoC/CPU/Configuration Selection"
source "soc/$ENV_VAR_ARCH/*/Kconfig.soc"
endchoice
menu "Hardware Configuration"
osource "soc/$ENV_VAR_ARCH/*/Kconfig"
endmenu