9
0
Fork 0

ARM: compile bootm code depending on CONFIG_BOOTM

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@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-09-22 13:05:06 +02:00
parent 68e6eceae9
commit 56f33b4679
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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