From: Masaru Nagai Date: Fri, 28 Aug 2015 03:12:45 +0000 (+0900) Subject: Makefile: add u-boot-elf.srec target X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=341ca9056049d5836121d044a87de69109d5a921;p=u-boot.git Makefile: add u-boot-elf.srec target 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 --- 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)