]> 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 57111afd90c1427fd8a0b27b137c25857102ef1d..a1ac375373dbcc0318a906dab10c3b89e1769af2 100644 (file)
@@ -39,8 +39,14 @@ GLCOBJS      += div0.o
 SOBJS-y += crt0.o
 
 ifndef CONFIG_SPL_BUILD
+SOBJS-y += relocate.o
+ifndef CONFIG_SYS_GENERIC_BOARD
 COBJS-y        += board.o
-COBJS-y        += bootm.o
+endif
+COBJS-y += sections.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