summaryrefslogtreecommitdiff
path: root/arch/nds32/lib/Makefile
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/nds32/lib/Makefile
parentc01939c764dc99e899cf6b69b4ff4d0cab981461 (diff)
downloadu-boot-b8eee4354f33b9810d929b6f7df74238b538e5a8.tar.gz
u-boot-b8eee4354f33b9810d929b6f7df74238b538e5a8.tar.bz2
u-boot-b8eee4354f33b9810d929b6f7df74238b538e5a8.zip
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/nds32/lib/Makefile')
-rw-r--r--arch/nds32/lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/nds32/lib/Makefile b/arch/nds32/lib/Makefile
index 581a2e758a..705e1ff90d 100644
--- a/arch/nds32/lib/Makefile
+++ b/arch/nds32/lib/Makefile
@@ -29,7 +29,8 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).o
-OBJS := board.o bootm.o cache.o interrupts.o
+OBJS := board.o cache.o interrupts.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
all: $(LIB)