]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target-ppc: virtex-ml507 machine type should depend on CONFIG_XILINX
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 26 Aug 2014 04:30:18 +0000 (14:30 +1000)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:11 +0000 (23:26 +0100)
The virtex-ml507 is a Xilinx CPU based system, and requires several sub
devices which are only included with CONFIG_XILINX.  Therefore, it should
only be compiled if CONFIG_XILINX is set.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/Makefile.objs

index edd44d03e70d88cd6a883b5be2f9b2a57558fdb4..19d99200ae8c78e6227718b8a932ab64d0ae2d40 100644 (file)
@@ -20,4 +20,4 @@ obj-$(CONFIG_MAC) += mac_newworld.o
 obj-$(CONFIG_E500) += e500.o mpc8544ds.o e500plat.o
 obj-$(CONFIG_E500) += mpc8544_guts.o ppce500_spin.o
 # PowerPC 440 Xilinx ML507 reference board.
-obj-y += virtex_ml507.o
+obj-$(CONFIG_XILINX) += virtex_ml507.o