aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:47:04 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:46 -0500
commite18ea868d2d16640081a404d533a57e3372428a5 (patch)
treed88b635b339e337d70a22dcc4b1ba24981a0b726 /Makefile.target
parent053dd92e8a79fa9c721c8abde722810319eb1925 (diff)
downloadqemu-e18ea868d2d16640081a404d533a57e3372428a5.zip
qemu-e18ea868d2d16640081a404d533a57e3372428a5.tar.gz
qemu-e18ea868d2d16640081a404d533a57e3372428a5.tar.bz2
use TARGET_<arch name> for selection
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target14
1 files changed, 3 insertions, 11 deletions
diff --git a/Makefile.target b/Makefile.target
index a294e6b..6553ecf 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -47,14 +47,8 @@ libobj-$(CONFIG_SOFTFLOAT) += fpu/softfloat.o
libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o
libobj-y += op_helper.o helper.o
libobj-$(CONFIG_NEED_MMU) += mmu.o
-
-ifeq ($(TARGET_BASE_ARCH), arm)
-libobj-y += neon_helper.o iwmmxt_helper.o
-endif
-
-ifeq ($(TARGET_BASE_ARCH), alpha)
-libobj-y += alpha_palcode.o
-endif
+libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o
+libobj-$(TARGET_ALPHA) += alpha_palcode.o
# NOTE: the disassembler code is only needed for debugging
libobj-y += disas.o
@@ -103,9 +97,7 @@ obj-y = main.o syscall.o strace.o mmap.o signal.o path.o thunk.o \
obj-$(TARGET_HAS_BFLT) += flatload.o
obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o
-ifeq ($(TARGET_ARCH), i386)
-obj-y += vm86.o
-endif
+obj-$(TARGET_I386) += vm86.o
nwfpe-obj-y = fpa11.o fpa11_cpdo.o fpa11_cpdt.o fpa11_cprt.o fpopcode.o
nwfpe-obj-y += single_cpdo.o double_cpdo.o extended_cpdo.o