summaryrefslogtreecommitdiffstats
path: root/arch/nds32/lib/Makefile
diff options
context:
space:
mode:
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)
OpenPOWER on IntegriCloud