From: Ian Campbell Date: Fri, 27 Sep 2013 09:35:47 +0000 (+0100) Subject: xen: arm: build platform support only on the relevant arch X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6245 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d33f4d19a535b7f43ade3d169d333d04ec4ca660;p=xen.git xen: arm: build platform support only on the relevant arch midway, omap5 and exynos are all 32-bit only platforms. This avoids needing CONFIG_ARM_32 ifdefs around the SMP callbacks on such platforms. Vexpress is both. Signed-off-by: Ian Campbell Acked-by: Julien Grall --- diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile index 4aa82e8982..75358011bc 100644 --- a/xen/arch/arm/platforms/Makefile +++ b/xen/arch/arm/platforms/Makefile @@ -1,4 +1,4 @@ obj-y += vexpress.o -obj-y += exynos5.o -obj-y += midway.o -obj-y += omap5.o +obj-$(CONFIG_ARM_32) += exynos5.o +obj-$(CONFIG_ARM_32) += midway.o +obj-$(CONFIG_ARM_32) += omap5.o