]> git.proxmox.com Git - qemu.git/commitdiff
Makefile: Simplify compilation of target-*/cpu.c
authorAndreas Färber <afaerber@suse.de>
Mon, 20 Feb 2012 05:28:33 +0000 (06:28 +0100)
committerAndreas Färber <afaerber@suse.de>
Mon, 30 Apr 2012 09:32:13 +0000 (11:32 +0200)
All targets except for ppc now have a standalone cpu.c file.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Makefile.target

index f7b2e7145aa0d67c28bf927505811fad0d8965f0..364aea2f5c87ab06ac27623a4cd9e9898d73f896 100644 (file)
@@ -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