summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorDirk Eibach <eibach@gdsys.de>2013-06-26 15:55:16 +0200
committerAndy Fleming <afleming@freescale.com>2013-07-16 17:44:30 -0500
commitb8eee4354f33b9810d929b6f7df74238b538e5a8 (patch)
tree72fad91ef1e196fe6f455065c0a188915fc00fa6 /arch/mips
parentc01939c764dc99e899cf6b69b4ff4d0cab981461 (diff)
downloadu-boot-imx-b8eee4354f33b9810d929b6f7df74238b538e5a8.zip
u-boot-imx-b8eee4354f33b9810d929b6f7df74238b538e5a8.tar.gz
u-boot-imx-b8eee4354f33b9810d929b6f7df74238b538e5a8.tar.bz2
Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM
MAKEALL is fine for ppc4xx and mpc85xx. Run checks were done on our controlcenterd hardware. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile
index 967e98a..b6ded54 100644
--- a/arch/mips/lib/Makefile
+++ b/arch/mips/lib/Makefile
@@ -36,9 +36,9 @@ SOBJS-y +=
COBJS-y += board.o
ifeq ($(CONFIG_QEMU_MIPS),y)
-COBJS-y += bootm_qemu_mips.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm_qemu_mips.o
else
-COBJS-y += bootm.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
endif
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)