summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-03-20 14:07:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-22 07:59:25 +0100
commit26a1aedb1b38f625c037d31381f721ac55f4420f (patch)
tree291c1b5960df24c1a045c5c3e439ccf92f150522
parentf604cc62be4002d0583d6753015fe5a6429a8c4f (diff)
downloadbarebox-26a1aedb1b38f625c037d31381f721ac55f4420f.tar.gz
barebox-26a1aedb1b38f625c037d31381f721ac55f4420f.tar.xz
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 <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-mvebu/Makefile2
1 files changed, 1 insertions, 1 deletions
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