summaryrefslogtreecommitdiff
path: root/arch/sh/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/lib/Makefile')
-rw-r--r--arch/sh/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile
index 256811a..3d4eb53 100644
--- a/arch/sh/lib/Makefile
+++ b/arch/sh/lib/Makefile
@@ -33,7 +33,7 @@ GLSOBJS += lshrdi3.o
GLSOBJS += movmem.o
COBJS-y += board.o
-COBJS-y += bootm.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
ifeq ($(CONFIG_SH2),y)
COBJS-y += time_sh2.o
else