From patchwork Tue Oct 9 07:32:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot, v4, 7/7] Makefile: Add target for combined spl/u-boot.bin & u-boot.img Date: Mon, 08 Oct 2012 21:32:33 -0000 From: Stefan Roese X-Patchwork-Id: 190235 Message-Id: <1349767953-25321-8-git-send-email-sr@denx.de> To: u-boot@lists.denx.de Cc: Tom Rini 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 --- Changes in v4: - Drop patch fdt: cmd_fdt: Call fdt_chosen() from "fdt boardsetup" Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 0dc24d2..468986a 100644 --- a/Makefile +++ b/Makefile @@ -515,6 +515,9 @@ $(obj)u-boot-nodtb-tegra.bin: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin endif 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 \