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:
parent
b2bbf5a7b7
commit
77ba3c3b8b
41 changed files with 112 additions and 107 deletions
|
@ -33,7 +33,7 @@
|
|||
#include <sections.h>
|
||||
|
||||
/* include platform dependent linker-defs */
|
||||
#ifdef CONFIG_X86_32
|
||||
#ifdef CONFIG_X86
|
||||
#include <arch/x86/linker-defs-arch.h>
|
||||
#elif defined(CONFIG_ARM)
|
||||
/* Nothing yet to include */
|
||||
|
@ -71,7 +71,7 @@
|
|||
DEVICE_INIT_LEVEL(APPLICATION) \
|
||||
__device_init_end = .; \
|
||||
|
||||
#ifdef CONFIG_X86_32 /* LINKER FILES: defines used by linker script */
|
||||
#ifdef CONFIG_X86 /* LINKER FILES: defines used by linker script */
|
||||
/* Should be moved to linker-common-defs.h */
|
||||
#if defined(CONFIG_XIP)
|
||||
#define ROMABLE_REGION ROM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue