Kconfig: make architecture kconfig independent
Change-Id: I242cb49d11a8131054730059a07154031e0035dd Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
19e17d47e6
commit
3ae5d713ef
2 changed files with 31 additions and 0 deletions
15
Kconfig
15
Kconfig
|
@ -31,9 +31,24 @@
|
||||||
#
|
#
|
||||||
mainmenu "Tiny Mountain/$SRCARCH Configuration"
|
mainmenu "Tiny Mountain/$SRCARCH Configuration"
|
||||||
|
|
||||||
|
|
||||||
config SRCARCH
|
config SRCARCH
|
||||||
string
|
string
|
||||||
option env="SRCARCH"
|
option env="SRCARCH"
|
||||||
|
|
||||||
source "arch/$SRCARCH/Kconfig"
|
source "arch/$SRCARCH/Kconfig"
|
||||||
|
|
||||||
|
|
||||||
|
config ARCH
|
||||||
|
string
|
||||||
|
option env="ARCH"
|
||||||
|
|
||||||
|
config KERNELVERSION
|
||||||
|
string
|
||||||
|
option env="KERNELVERSION"
|
||||||
|
|
||||||
|
config DEFCONFIG_LIST
|
||||||
|
string
|
||||||
|
option defconfig_list
|
||||||
|
default "$ARCH_DEFCONFIG"
|
||||||
|
default "arch/$ARCH/defconfig"
|
||||||
|
|
|
@ -30,8 +30,19 @@
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config X86_32
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config ARCH_DEFCONFIG
|
||||||
|
string
|
||||||
|
default "arch/x86/defconfig" if X86_32
|
||||||
|
|
||||||
|
source "kernel/Kconfig"
|
||||||
|
|
||||||
|
source "misc/Kconfig"
|
||||||
|
|
||||||
source "arch/x86/core/Kconfig"
|
source "arch/x86/core/Kconfig"
|
||||||
|
|
||||||
source "arch/x86/bsp/Kconfig"
|
source "arch/x86/bsp/Kconfig"
|
||||||
|
|
||||||
menu "Floating Point Options"
|
menu "Floating Point Options"
|
||||||
|
@ -149,4 +160,9 @@ source "arch/x86/quark/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source "arch/x86/timer/Kconfig"
|
source "arch/x86/timer/Kconfig"
|
||||||
|
|
||||||
source "arch/x86/interrupt_controller/Kconfig"
|
source "arch/x86/interrupt_controller/Kconfig"
|
||||||
|
|
||||||
|
source "drivers/Kconfig"
|
||||||
|
|
||||||
|
source "net/Kconfig"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue