]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/openrisc/lib/Makefile
Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM
[karo-tx-uboot.git] / arch / openrisc / lib / Makefile
index db3c657070427b9357c58b7ed311498ae0075638..ab822f4f99d3808a576e2c97c12b6f549ce3c1cc 100644 (file)
@@ -28,7 +28,7 @@ LIB   = $(obj)lib$(ARCH).o
 SOBJS-y        +=
 
 COBJS-y        += board.o
-COBJS-y        += bootm.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
 COBJS-y        += timer.o
 
 SRCS   := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)