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.objs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Makefile.objs') diff --git a/Makefile.objs b/Makefile.objs index dcb5a92..6594eda 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -154,3 +154,21 @@ hw-obj-$(CONFIG_ESP) += esp.o hw-obj-y += dma-helpers.o sysbus.o isa-bus.o hw-obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o + +###################################################################### +# libdis +# NOTE: the disassembler code is only needed for debugging + +libdis-y = +libdis-$(CONFIG_ALPHA_DIS) += alpha-dis.o +libdis-$(CONFIG_ARM_DIS) += arm-dis.o +libdis-$(CONFIG_CRIS_DIS) += cris-dis.o +libdis-$(CONFIG_HPPA_DIS) += hppa-dis.o +libdis-$(CONFIG_I386_DIS) += i386-dis.o +libdis-$(CONFIG_M68K_DIS) += m68k-dis.o +libdis-$(CONFIG_MICROBLAZE_DIS) += microblaze-dis.o +libdis-$(CONFIG_MIPS_DIS) += mips-dis.o +libdis-$(CONFIG_PPC_DIS) += ppc-dis.o +libdis-$(CONFIG_S390_DIS) += s390-dis.o +libdis-$(CONFIG_SH4_DIS) += sh4-dis.o +libdis-$(CONFIG_SPARC_DIS) += sparc-dis.o -- cgit v1.1