summaryrefslogtreecommitdiffstats
path: root/Makefile.target
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-08-16 07:39:33 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-08-16 07:39:33 +0000
commite27b27b3c6fb9e52e10cd0e5bbac3647517bbd97 (patch)
treeb15d411ccb26f370e33d4b1613ac38f132562d31 /Makefile.target
parentcfa90513a3d41a033aa3bacd5396b81edb0f9ebf (diff)
downloadhqemu-e27b27b3c6fb9e52e10cd0e5bbac3647517bbd97.zip
hqemu-e27b27b3c6fb9e52e10cd0e5bbac3647517bbd97.tar.gz
Simplify 5ba6531956b9b6486560cbd13604c2238a3542dd
Thanks to Juan Quintela. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target12
1 files changed, 3 insertions, 9 deletions
diff --git a/Makefile.target b/Makefile.target
index 1e91cf2..1d805b3 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -94,9 +94,7 @@ obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o
obj-$(TARGET_I386) += vm86.o
-ifeq ($(TARGET_BASE_ARCH), i386)
-obj-y += ioport-user.o
-endif
+obj-i386-y += ioport-user.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
@@ -124,9 +122,7 @@ LIBS+=-lmx
obj-y = main.o commpage.o machload.o mmap.o signal.o syscall.o thunk.o \
gdbstub.o gdbstub-xml.o
-ifeq ($(TARGET_BASE_ARCH), i386)
-obj-y += ioport-user.o
-endif
+obj-i386-y += ioport-user.o
ARLIBS=libqemu.a
@@ -143,9 +139,7 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/bsd-user -I$(SRC_PATH)/bsd-user/$(TARGET_ARCH)
obj-y = main.o bsdload.o elfload.o mmap.o signal.o strace.o syscall.o \
gdbstub.o gdbstub-xml.o uaccess.o
-ifeq ($(TARGET_BASE_ARCH), i386)
-obj-y += ioport-user.o
-endif
+obj-i386-y += ioport-user.o
ARLIBS=libqemu.a ../libqemu_user.a
OpenPOWER on IntegriCloud