[PATCH 09/11] ARM: compile bootm code depending on CONFIG_BOOTM
Sascha Hauer
s.hauer at pengutronix.de
Tue Sep 24 03:08:45 EDT 2013
The bootm code is now independent from the actual bootm command, so
compile the ARM specific bootm code based on CONFIG_BOOTM and not on
CONFIG_CMD_BOOTM.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/Kconfig | 2 +-
arch/arm/lib/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 687acca..38116be 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -10,7 +10,7 @@ config ARM
config ARM_LINUX
bool
default y
- depends on CMD_BOOTZ || CMD_BOOTU || CMD_BOOTM
+ depends on CMD_BOOTZ || CMD_BOOTU || BOOTM
config HAVE_MACH_ARM_HEAD
bool
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index 3ea695c..a328795 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -1,5 +1,5 @@
obj-$(CONFIG_ARM_LINUX) += armlinux.o
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
obj-$(CONFIG_CMD_BOOTZ) += bootz.o
obj-$(CONFIG_CMD_BOOTU) += bootu.o
obj-y += div0.o
--
1.8.4.rc3
More information about the barebox
mailing list