[U-Boot] [PATCH] Remove gap fill in srec object v2

Ricardo Ribalda Delgado ricardo.ribalda at uam.es
Sun Sep 7 23:10:27 CEST 2008


SREC files do not need gap fill: The load address is specified in the file.
On the other hand, it can't be avoided in a .bin object. It has no
information about memory location.

diff in v2:
-Change comment (wd)

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at uam.es>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 3869e79..c8c02dd 100644
--- a/Makefile
+++ b/Makefile
@@ -295,7 +295,7 @@ $(obj)u-boot.hex:	$(obj)u-boot
 		$(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
 
 $(obj)u-boot.srec:	$(obj)u-boot
-		$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
+		$(OBJCOPY) -O srec $< $@
 
 $(obj)u-boot.bin:	$(obj)u-boot
 		$(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
-- 
1.5.6.5



More information about the U-Boot mailing list