From: Marek Vasut Date: Mon, 26 Feb 2018 20:26:23 +0100 Subject: [U-Boot] [PATCH 1/2] Makefile: add u-boot-elf.srec target Message-ID: <20180226192624.2641-1-marek.vasut+renesas@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Masaru Nagai The u-boot-elf.srec is needed for some platforms, add target to generate this file. Signed-off-by: Masaru Nagai Signed-off-by: Hiroyuki Yokoyama Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 57cb4b87d9..a7eb4196aa 100644 --- a/Makefile +++ b/Makefile @@ -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) -- 2.16.1