]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: add u-boot-spl.srec target
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 26 Feb 2018 19:14:02 +0000 (20:14 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 27 Feb 2018 20:05:35 +0000 (21:05 +0100)
The u-boot-spl.srec is needed for some platforms, add target to generate this file.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Tom Rini <trini@konsulko.com>
Makefile

index a7eb4196aaefca0ada81de75aae0770923a4cb7b..50abc979ade2758e74f7e9a7c962c28d2809e18e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -931,6 +931,11 @@ OBJCOPYFLAGS_u-boot-elf.srec := $(OBJCOPYFLAGS_u-boot.srec)
 u-boot-elf.srec: u-boot.elf FORCE
        $(call if_changed,objcopy)
 
+OBJCOPYFLAGS_u-boot-spl.srec = $(OBJCOPYFLAGS_u-boot.srec)
+
+spl/u-boot-spl.srec: spl/u-boot-spl FORCE
+       $(call if_changed,objcopy)
+
 OBJCOPYFLAGS_u-boot-nodtb.bin := -O binary \
                $(if $(CONFIG_X86_16BIT_INIT),-R .start16 -R .resetvec)