aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-02-20 06:28:33 +0100
committerAndreas Färber <afaerber@suse.de>2012-04-30 11:32:13 +0200
commit894a84e632e4e71eaa3588d7ca9854bf4d9027ea (patch)
treeee9730fbc7f8c1fb83d764cf2c41983a2f81c8d7
parent5b0c40f7460a017d0322d942a6abda9e8815676b (diff)
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 <afaerber@suse.de>
-rw-r--r--Makefile.target16
1 files changed, 1 insertions, 15 deletions
diff --git a/Makefile.target b/Makefile.target
index f7b2e7145a..364aea2f5c 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