]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - Makefile
tools: moved code common to all image tools to a separated module.
[karo-tx-uboot.git] / Makefile
index e693f7ffa20284d82548ea54ea9f394f577a27e5..7310c4ef0af4e6da4a27fa2b5f5ba39e9e69f602 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -372,7 +372,7 @@ $(obj)u-boot.hex:   $(obj)u-boot
                $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
 
 $(obj)u-boot.srec:     $(obj)u-boot
-               $(OBJCOPY) -O srec $< $@
+               $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
 
 $(obj)u-boot.bin:      $(obj)u-boot
                $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@