]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
tools: elftosb: use legacy elftosb instead of mkimage
[karo-tx-uboot.git] / Makefile
index 92faed63fd1208897078d9dc1c88d8fa65e7fc55..d8b73076a45d051ea8d4efc75751142c1da9258e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -912,9 +912,12 @@ u-boot.ais: spl/u-boot-spl.ais u-boot.img FORCE
 
 u-boot-signed.sb: u-boot.bin spl/u-boot-spl.bin
        $(Q)$(MAKE) $(build)=arch/arm/cpu/arm926ejs/mxs u-boot-signed.sb
-u-boot.sb: u-boot.bin spl/u-boot-spl.bin
+u-boot.sb: u-boot.bin spl/u-boot-spl.bin elftosb
        $(Q)$(MAKE) $(build)=arch/arm/cpu/arm926ejs/mxs u-boot.sb
 
+elftosb:
+       $(MAKE) -C $(KBUILD_SRC)/tools/elftosb all
+
 # On x600 (SPEAr600) U-Boot is appended to U-Boot SPL.
 # Both images are created using mkimage (crc etc), so that the ROM
 # bootloader can check its integrity. Padding needs to be done to the