[PATCH 3/3] ARM: mvebu: only build kwbootimage support if BOOTM is enabled

Lucas Stach l.stach at pengutronix.de
Mon Mar 20 06:07:08 PDT 2017


As this is the bootm image handler implementation for the kwbootimage
it is of no use if BOOTM is missing and fails to link.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 arch/arm/mach-mvebu/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index fb5c4e6bcd66..89805ba5b186 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -3,4 +3,4 @@ obj-$(CONFIG_ARCH_ARMADA_370)	+= armada-370-xp.o
 obj-$(CONFIG_ARCH_ARMADA_XP)	+= armada-370-xp.o
 obj-$(CONFIG_ARCH_DOVE)		+= dove.o
 obj-$(CONFIG_ARCH_KIRKWOOD)	+= kirkwood.o
-obj-y				+= kwbootimage.o
+obj-$(CONFIG_BOOTM)		+= kwbootimage.o
-- 
2.11.0




More information about the barebox mailing list