posix: move soc to top-level dir soc/

Move the SoC outside of the architecture tree and put them at the same
level as boards and architectures allowing both SoCs and boards to be
maintained outside the tree.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-09-03 16:56:32 -05:00
parent 696aa869d5
commit 563c161a80
12 changed files with 2 additions and 3 deletions

View file

@ -40,5 +40,4 @@ zephyr_ld_options(
# be included in a few zephyr kernel files.
add_subdirectory(soc)
add_subdirectory(core)

View file

@ -10,7 +10,7 @@ choice
prompt "POSIX Configuration Selection"
depends on ARCH_POSIX
source "arch/posix/soc/*/Kconfig.soc"
source "soc/posix/*/Kconfig.soc"
endchoice
menu "POSIX (native) Options"
@ -20,7 +20,7 @@ menu "POSIX (native) Options"
# overriden (by defining symbols in multiple locations)
#
# (No SoC-specific Kconfig files as of writing, hence the optional source.)
osource "arch/posix/soc/*/Kconfig"
osource "soc/posix/*/Kconfig"
config ARCH
default "posix"