]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Makefile: Add target for combined spl/u-boot.bin & u-boot.img
authorStefan Roese <sr@denx.de>
Fri, 24 Aug 2012 15:36:53 +0000 (17:36 +0200)
committerStefan Roese <sr@denx.de>
Wed, 5 Dec 2012 16:31:30 +0000 (17:31 +0100)
This new make target "u-boot-img.bin" consists of the U-Boot
SPL image with the real, full-blown U-Boot image directly
attached to it. The full-blown U-Boot image has the mkimage
header included, with its load-address and entry-point.

This will be used by the upcoming a3m071 MPC5200 board port.

Signed-off-by: Stefan Roese <sr@denx.de>
Makefile

index bf9a9378dafd622ffcdf995f97c80b5650701405..2132ebf10f23e89b830749d00bbb6f0d71b163cf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -544,6 +544,9 @@ $(obj)u-boot-$(nodtb)-tegra.bin: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin $(dtb
                rm $(obj)spl/u-boot-spl-pad.bin
 endif
 
+$(obj)u-boot-img.bin: $(obj)spl/u-boot-spl.bin $(obj)u-boot.img
+               cat $(obj)spl/u-boot-spl.bin $(obj)u-boot.img > $@
+
 ifeq ($(CONFIG_SANDBOX),y)
 GEN_UBOOT = \
                cd $(LNDIR) && $(CC) $(SYMS) -T $(obj)u-boot.lds \