From: Andreas Färber Date: Mon, 20 Feb 2012 05:28:33 +0000 (+0100) Subject: Makefile: Simplify compilation of target-*/cpu.c X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~4161^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=894a84e632e4e71eaa3588d7ca9854bf4d9027ea;p=sdk%2Femulator%2Fqemu.git Makefile: Simplify compilation of target-*/cpu.c All targets except for ppc now have a standalone cpu.c file. Signed-off-by: Andreas Färber --- diff --git a/Makefile.target b/Makefile.target index f7b2e71..364aea2 100644 --- a/Makefile.target +++ b/Makefile.target @@ -87,32 +87,18 @@ libobj-y += op_helper.o endif endif libobj-y += helper.o -ifeq ($(TARGET_BASE_ARCH), i386) +ifneq ($(TARGET_BASE_ARCH), ppc) libobj-y += cpu.o endif libobj-$(TARGET_SPARC64) += vis_helper.o libobj-$(CONFIG_NEED_MMU) += mmu.o libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o -libobj-$(TARGET_ARM) += cpu.o -libobj-$(TARGET_CRIS) += cpu.o -libobj-$(TARGET_LM32) += cpu.o -libobj-$(TARGET_M68K) += cpu.o -libobj-$(TARGET_MICROBLAZE) += cpu.o -ifeq ($(TARGET_BASE_ARCH), mips) -libobj-y += cpu.o -endif -libobj-$(TARGET_S390X) += cpu.o -libobj-$(TARGET_SH4) += cpu.o ifeq ($(TARGET_BASE_ARCH), sparc) libobj-y += fop_helper.o cc_helper.o win_helper.o mmu_helper.o ldst_helper.o -libobj-y += cpu.o endif libobj-$(TARGET_SPARC) += int32_helper.o libobj-$(TARGET_SPARC64) += int64_helper.o -libobj-$(TARGET_UNICORE32) += cpu.o -libobj-$(TARGET_XTENSA) += cpu.o libobj-$(TARGET_ALPHA) += int_helper.o fpu_helper.o sys_helper.o mem_helper.o -libobj-$(TARGET_ALPHA) += cpu.o libobj-y += disas.o libobj-$(CONFIG_TCI_DIS) += tci-dis.o