aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnnie Birch <johnnie.l.birch.jr@intel.com>2010-08-02 12:12:15 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-11-17 15:15:08 -0800
commita4716b26187217ce8c4ad8f021080605a39943c6 (patch)
tree52b25ff14dda3789ff0fbdb04da60e979831f665
parent01a9840ba7545d9175575cc3d95b2584b2dee31c (diff)
downloadbuild-a4716b26187217ce8c4ad8f021080605a39943c6.tar.gz
Enables x86-atom as a valid TARGET_ARCH_VARIANT for the simulator build.
Change-Id: Idbceb6c7d4117fbecd35e4261330e6405666189e
-rw-r--r--core/combo/TARGET_linux-x86.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk
index 1477ae695e..b3dd1d6f6c 100644
--- a/core/combo/TARGET_linux-x86.mk
+++ b/core/combo/TARGET_linux-x86.mk
@@ -25,7 +25,9 @@ TARGET_AR := $(HOST_AR)
TARGET_GLOBAL_CFLAGS := $(HOST_GLOBAL_CFLAGS) -m32
TARGET_GLOBAL_LDFLAGS := $(HOST_GLOBAL_LDFLAGS) -m32 -lpthread
TARGET_NO_UNDEFINED_LDFLAGS := $(HOST_NO_UNDEFINED_LDFLAGS)
+ifeq ($(strip $(TARGET_ARCH_VARIANT)),)
TARGET_ARCH_VARIANT := x86
+endif
else #simulator
# Provide a default variant.