]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/mips/lib/Makefile
Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM
[karo-tx-uboot.git] / arch / mips / lib / Makefile
index 967e98a52614ff7be05b52e7a8600e6698d5541d..b6ded547164d1e08534d4ce613d79d3f355dfa97 100644 (file)
@@ -36,9 +36,9 @@ SOBJS-y       +=
 
 COBJS-y        += board.o
 ifeq ($(CONFIG_QEMU_MIPS),y)
-COBJS-y        += bootm_qemu_mips.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm_qemu_mips.o
 else
-COBJS-y        += bootm.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
 endif
 
 SRCS   := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)