xen: arm: build platform support only on the relevant arch
authorIan Campbell <ian.campbell@citrix.com>
Fri, 27 Sep 2013 09:35:47 +0000 (10:35 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 27 Sep 2013 15:39:03 +0000 (16:39 +0100)
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 <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/platforms/Makefile

index 4aa82e89821ae75fb0262c519d9beef2b5594b38..75358011bc8149225b72abd5d0f1102c5050faa1 100644 (file)
@@ -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