summaryrefslogtreecommitdiff
path: root/arch/avr32/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/lib/Makefile')
-rw-r--r--arch/avr32/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/lib/Makefile b/arch/avr32/lib/Makefile
index ee6d067..fce8af3 100644
--- a/arch/avr32/lib/Makefile
+++ b/arch/avr32/lib/Makefile
@@ -30,7 +30,7 @@ LIB = $(obj)lib$(ARCH).o
SOBJS-y += memset.o
COBJS-y += board.o
-COBJS-y += bootm.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
COBJS-y += interrupts.o
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)