kconfig: define architecture as a kconfig variable

Do not depend on environment variables and use a kconfig variable
for defining the architecture.

In addition, remove the X86_32 variable, it just duplicates X86 for
not good reason, at least until start supporting MCUs with 64bit.

Change-Id: Ia001db81ed007e6a43f34506fed9be1345b88a4b
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-10-09 06:20:52 -04:00
commit 77ba3c3b8b
41 changed files with 112 additions and 107 deletions

View file

@ -23,7 +23,7 @@ config LOAPIC
bool "LOAPIC"
default n
select IOAPIC
depends on X86_32
depends on X86
help
This option selects local APIC as the interrupt controller.
@ -77,7 +77,7 @@ config IOAPIC_NUM_RTES
config MVIC
bool "Intel Quark D2000 Interrupt Controller (MVIC)"
default n
depends on X86_32
depends on X86
help
The MVIC (Intel Quark microcontroller D2000 Interrupt Controller) is
configured by default to support 32 external interrupt lines. Unlike the