From 26a1aedb1b38f625c037d31381f721ac55f4420f Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Mon, 20 Mar 2017 14:07:08 +0100 Subject: ARM: mvebu: only build kwbootimage support if BOOTM is enabled 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 Signed-off-by: Sascha Hauer --- 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 fb5c4e6bcd..89805ba5b1 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 -- cgit v1.2.3