]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Remove gap fill in srec object v2
authorRicardo Ribalda Delgado <ricardo.ribalda@uam.es>
Sun, 7 Sep 2008 21:10:27 +0000 (17:10 -0400)
committerWolfgang Denk <wd@denx.de>
Tue, 9 Sep 2008 10:07:39 +0000 (12:07 +0200)
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.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Makefile

index 93c22d1fcef9a4fea293bc171271ca6aee55cb71..538cfe7d1e946e7555a8ca286372098a18b79740 100644 (file)
--- 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 $< $@