]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/lib/Makefile
Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM
[karo-tx-uboot.git] / arch / arm / lib / Makefile
index 8ad9f66a5d50f2066a965e1b5ab3b94d0b2a79ee..a1ac375373dbcc0318a906dab10c3b89e1769af2 100644 (file)
@@ -43,10 +43,10 @@ SOBJS-y += relocate.o
 ifndef CONFIG_SYS_GENERIC_BOARD
 COBJS-y        += board.o
 endif
-COBJS-y += bss.o
+COBJS-y += sections.o
 
-COBJS-y        += bootm.o
 COBJS-$(CONFIG_OF_LIBFDT) += bootm-fdt.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
 COBJS-$(CONFIG_SYS_L2_PL310) += cache-pl310.o
 SOBJS-$(CONFIG_USE_ARCH_MEMSET) += memset.o
 SOBJS-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o