From 9bbfbb61afab2e54e476da6f46ef8f7ee25ad750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sat, 9 Jun 2012 03:54:29 +0200 Subject: hw/xilinx_*: Share Xilinx devices between ppc and microblaze MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Speeds up the build. xilinx_ethlite uses tswap32() and is thus target-dependent. Signed-off-by: Andreas Färber Signed-off-by: Edgar E. Iglesias --- hw/Makefile.objs | 5 +++++ hw/microblaze/Makefile.objs | 3 --- hw/ppc/Makefile.objs | 3 --- 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'hw') diff --git a/hw/Makefile.objs b/hw/Makefile.objs index 7e17504..102ebcf 100644 --- a/hw/Makefile.objs +++ b/hw/Makefile.objs @@ -59,6 +59,11 @@ hw-obj-$(CONFIG_PIIX4) += piix4.o hw-obj-$(CONFIG_G364FB) += g364fb.o hw-obj-$(CONFIG_JAZZ_LED) += jazz_led.o +# Xilinx devices +hw-obj-$(CONFIG_XILINX) += xilinx_intc.o +hw-obj-$(CONFIG_XILINX) += xilinx_timer.o +hw-obj-$(CONFIG_XILINX) += xilinx_uartlite.o + # PCI watchdog devices hw-obj-$(CONFIG_PCI) += wdt_i6300esb.o diff --git a/hw/microblaze/Makefile.objs b/hw/microblaze/Makefile.objs index 020f7b6..59ea20f 100644 --- a/hw/microblaze/Makefile.objs +++ b/hw/microblaze/Makefile.objs @@ -3,9 +3,6 @@ obj-y += petalogix_ml605_mmu.o obj-y += microblaze_boot.o obj-y += microblaze_pic_cpu.o -obj-y += xilinx_intc.o -obj-y += xilinx_timer.o -obj-y += xilinx_uartlite.o obj-y += xilinx_ethlite.o obj-y += xilinx_axidma.o obj-y += xilinx_axienet.o diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs index d0ef8a2..44a1e8c 100644 --- a/hw/ppc/Makefile.objs +++ b/hw/ppc/Makefile.objs @@ -23,9 +23,6 @@ obj-y += openpic.o obj-$(CONFIG_FDT) += ../device_tree.o # Xilinx PPC peripherals -obj-y += xilinx_intc.o -obj-y += xilinx_timer.o -obj-y += xilinx_uartlite.o obj-y += xilinx_ethlite.o obj-y := $(addprefix ../,$(obj-y)) -- cgit v1.1