From 0691e8ebce51e4e3bf0c76c41d8b534e3cde47ee Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 26 Aug 2014 14:30:18 +1000 Subject: 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 --- hw/ppc/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1