]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
arm: keep all sections in ELF file
[karo-tx-uboot.git] / Makefile
index 1f499c5ec877173aaeec70263860a3cca89b43ea..af0ad5744e2738d9afeb54901cb262daca33bf1f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -393,7 +393,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 $< $@