From 4d9045339a69ff11764476529b9121e0f219c2f9 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 21 Mar 2010 08:28:47 +0000 Subject: Compile disassemblers only once Signed-off-by: Blue Swirl --- Makefile.target | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index 0c282154d5..0d8a92770b 100644 --- a/Makefile.target +++ b/Makefile.target @@ -55,20 +55,7 @@ endif libobj-$(CONFIG_NEED_MMU) += mmu.o libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o -# NOTE: the disassembler code is only needed for debugging libobj-y += disas.o -libobj-$(CONFIG_ALPHA_DIS) += alpha-dis.o -libobj-$(CONFIG_ARM_DIS) += arm-dis.o -libobj-$(CONFIG_CRIS_DIS) += cris-dis.o -libobj-$(CONFIG_HPPA_DIS) += hppa-dis.o -libobj-$(CONFIG_I386_DIS) += i386-dis.o -libobj-$(CONFIG_M68K_DIS) += m68k-dis.o -libobj-$(CONFIG_MICROBLAZE_DIS) += microblaze-dis.o -libobj-$(CONFIG_MIPS_DIS) += mips-dis.o -libobj-$(CONFIG_PPC_DIS) += ppc-dis.o -libobj-$(CONFIG_S390_DIS) += s390-dis.o -libobj-$(CONFIG_SH4_DIS) += sh4-dis.o -libobj-$(CONFIG_SPARC_DIS) += sparc-dis.o $(libobj-y): $(GENERATED_HEADERS) @@ -116,6 +103,7 @@ obj-m68k-y += m68k-sim.o m68k-semi.o $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y): $(GENERATED_HEADERS) obj-y += $(addprefix ../libuser/, $(user-obj-y)) +obj-y += $(addprefix ../libdis-user/, $(libdis-y)) obj-y += $(libobj-y) endif #CONFIG_LINUX_USER @@ -142,6 +130,7 @@ obj-i386-y += ioport-user.o $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y): $(GENERATED_HEADERS) obj-y += $(addprefix ../libuser/, $(user-obj-y)) +obj-y += $(addprefix ../libdis-user/, $(libdis-y)) obj-y += $(libobj-y) endif #CONFIG_DARWIN_USER @@ -163,6 +152,7 @@ obj-i386-y += ioport-user.o $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y): $(GENERATED_HEADERS) obj-y += $(addprefix ../libuser/, $(user-obj-y)) +obj-y += $(addprefix ../libdis-user/, $(libdis-y)) obj-y += $(libobj-y) endif #CONFIG_BSD_USER @@ -329,6 +319,7 @@ monitor.o: qemu-monitor.h $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y): $(GENERATED_HEADERS) obj-y += $(addprefix ../, $(common-obj-y)) +obj-y += $(addprefix ../libdis/, $(libdis-y)) obj-y += $(libobj-y) obj-y += $(addprefix $(HWDIR)/, $(hw-obj-y)) -- cgit v1.2.3