[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v2 5/6] xen/arm: make platform specific code dependent on ALL32_PLAT or ALL64_PLAT



Compile platform code that doesn't have its own specific kconfig option
only if ALL32_PLAT or ALL64_PLAT depending on the architecture. The
benefit is that choosing one of the platforms available as a menu
option allows the user not to build other unnecessary platform code.

Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx>
---
 xen/arch/arm/platforms/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index 190a744..daf0d45 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -1,12 +1,12 @@
 obj-y += vexpress.o
-obj-$(CONFIG_ARM_32) += brcm.o
-obj-$(CONFIG_ARM_32) += exynos5.o
-obj-$(CONFIG_ARM_32) += midway.o
+obj-$(CONFIG_ALL32_PLAT)        += brcm.o
+obj-$(CONFIG_ALL32_PLAT)        += exynos5.o
+obj-$(CONFIG_ALL32_PLAT)        += midway.o
 obj-$(CONFIG_OMAP5_PLATFORM)    += omap5.o
 obj-$(CONFIG_RCAR2_PLATFORM)    += rcar2.o
-obj-$(CONFIG_ARM_64) += seattle.o
+obj-$(CONFIG_ALL64_PLAT)        += seattle.o
 obj-$(CONFIG_SUNXI_PLATFORM)    += sunxi.o
-obj-$(CONFIG_ARM_64) += thunderx.o
+obj-$(CONFIG_ALL64_PLAT)        += thunderx.o
 obj-$(CONFIG_THUNDERX_PLATFORM) += thunderx.o
-obj-$(CONFIG_ARM_64) += xgene-storm.o
-obj-$(CONFIG_MPSOC_PLATFORM)  += xilinx-zynqmp.o
+obj-$(CONFIG_ALL64_PLAT)        += xgene-storm.o
+obj-$(CONFIG_MPSOC_PLATFORM)    += xilinx-zynqmp.o
-- 
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.