From: David Gibson Date: Tue, 26 Aug 2014 04:30:18 +0000 (+1000) Subject: target-ppc: virtex-ml507 machine type should depend on CONFIG_XILINX X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0691e8ebce51e4e3bf0c76c41d8b534e3cde47ee;p=qemu.git target-ppc: virtex-ml507 machine type should depend on CONFIG_XILINX 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 Reviewed-by: Peter Crosthwaite Signed-off-by: Alexander Graf --- diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs index edd44d03e7..19d99200ae 100644 --- a/hw/ppc/Makefile.objs +++ b/hw/ppc/Makefile.objs @@ -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