diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-15 07:52:19 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-15 07:52:19 +0000 |
commit | 5ba6531956b9b6486560cbd13604c2238a3542dd (patch) | |
tree | a065b25ddb0fc88706c9f0f46b72dd998fcc9848 | |
parent | 370220865b8f3451a5d2caac8f38b3fd08818bf8 (diff) |
user: compile ioport-user.c only for x86
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | Makefile.target | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Makefile.target b/Makefile.target index 93c555b660..74f869db48 100644 --- a/Makefile.target +++ b/Makefile.target @@ -87,13 +87,17 @@ VPATH+=:$(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) obj-y = main.o syscall.o strace.o mmap.o signal.o thunk.o \ - elfload.o linuxload.o uaccess.o envlist.o gdbstub.o gdbstub-xml.o \ - ioport-user.o + elfload.o linuxload.o uaccess.o envlist.o gdbstub.o gdbstub-xml.o + obj-$(TARGET_HAS_BFLT) += flatload.o obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o obj-$(TARGET_I386) += vm86.o +ifeq ($(TARGET_BASE_ARCH), i386) +obj-y += ioport-user.o +endif + 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 obj-arm-y += $(addprefix nwfpe/, $(nwfpe-obj-y)) @@ -118,7 +122,11 @@ LDFLAGS+=-Wl,-segaddr,__STD_PROG_ZONE,0x1000 -image_base 0x0e000000 LIBS+=-lmx obj-y = main.o commpage.o machload.o mmap.o signal.o syscall.o thunk.o \ - gdbstub.o gdbstub-xml.o ioport-user.o + gdbstub.o gdbstub-xml.o + +ifeq ($(TARGET_BASE_ARCH), i386) +obj-y += ioport-user.o +endif ARLIBS=libqemu.a @@ -133,8 +141,11 @@ VPATH+=:$(SRC_PATH)/bsd-user 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 ioport-user.o -obj-y += uaccess.o + gdbstub.o gdbstub-xml.o uaccess.o + +ifeq ($(TARGET_BASE_ARCH), i386) +obj-y += ioport-user.o +endif ARLIBS=libqemu.a ../libqemu_user.a |