Makefile: add u-boot-elf.srec target
Subsystems (2)
PATCH 1/2 Makefile: add u-boot-elf.srec target
From: Masaru Nagai <[email protected]>
The u-boot-elf.srec is needed for some platforms, add target to generate this file.
Signed-off-by Masaru Nagai <[email protected]>
Signed-off-by Hiroyuki Yokoyama <[email protected]>
Signed-off-by Marek Vasut <[email protected]>
Cc Hiroyuki Yokoyama <[email protected]>
Cc Nobuhiro Iwamatsu <[email protected]>
--- Makefile | 5 +++++ 1 file changed, 5 insertions(+)
Makefile +5 -0
@@ -926,6 +926,11 @@ OBJCOPYFLAGS_u-boot.srec := -O srec u-boot.hex u-boot.srec: u-boot FORCE $(call if_changed,objcopy) +OBJCOPYFLAGS_u-boot-elf.srec := $(OBJCOPYFLAGS_u-boot.srec) + +u-boot-elf.srec: u-boot.elf FORCE + $(call if_changed,objcopy) + OBJCOPYFLAGS_u-boot-nodtb.bin := -O binary \ $(if $(CONFIG_X86_16BIT_INIT),-R .start16 -R .resetvec)
Signature · 1 line
2.16.1
PATCH 2/2 ARM: rmobile: Build u-boot-elf.srec on Gen3
From: Masaru Nagai <[email protected]>
The u-boot-elf.srec is needed for the minimon update on Gen3 SoCs, conveniently generate this file.
Signed-off-by Marek Vasut <[email protected]>
Cc Nobuhiro Iwamatsu <[email protected]>
--- include/configs/rcar-gen3-common.h | 1 + 1 file changed, 1 insertion(+)
include/configs/rcar-gen3-common.h +1 -0
@@ -13,6 +13,7 @@#include <asm/arch/rmobile.h> #define CONFIG_REMAKE_ELF +#define CONFIG_BUILD_TARGET "u-boot-elf.srec"/* boot option */
Signature · 1 line
2.16.1