]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/nios2/lib/Makefile
Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM
[karo-tx-uboot.git] / arch / nios2 / lib / Makefile
index 443f99ee158174c10e9672037aa549b9a424c9c4..f33f96a51ad4f74a0a20b8b2267b6b16a481194d 100644 (file)
@@ -28,7 +28,7 @@ LIB   = $(obj)lib$(ARCH).o
 SOBJS-y        += cache.o
 
 COBJS-y        += board.o
-COBJS-y        += bootm.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
 COBJS-y        += libgcc.o
 COBJS-y        += time.o