From 894a84e632e4e71eaa3588d7ca9854bf4d9027ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20F=C3=A4rber?= Date: Mon, 20 Feb 2012 06:28:33 +0100 Subject: [PATCH] Makefile: Simplify compilation of target-*/cpu.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit All targets except for ppc now have a standalone cpu.c file. Signed-off-by: Andreas Färber --- Makefile.target | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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 -- 2.7.4