]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/sh/lib/Makefile
Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM
[karo-tx-uboot.git] / arch / sh / lib / Makefile
index 256811afd4b7fa2ff329b7866068cd84202ce5a8..3d4eb53a0bcb4c02a246e1cadb4f2a36846f6458 100644 (file)
@@ -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