Closed GoogleCodeExporter closed 8 years ago
May I ask you to provide me a patch that I would only have to apply? Thanks!
Original comment by bson...@gmail.com
on 23 Aug 2012 at 10:06
I checked it out. If their fix is to be believed, here is the patch (also
attached for download) and I can still compile after inserting the changes.
$ svn diff
Index: Makefile
===================================================================
--- Makefile (revision 1266)
+++ Makefile (working copy)
@@ -709,7 +709,9 @@
ifeq ($(PCB), ARM)
ELFSIZE = $(SIZE) $(TARGET).elf
else
- ELFSIZE = $(SIZE) --mcu=$(MCU) --format=avr $(TARGET).elf
+ MCU_FLAG = $(shell $(SIZE) --help | grep -- --mcu > /dev/null && echo
--mcu=$(MCU) )
+ FORMAT_FLAG = $(shell $(SIZE) --help | grep -- --format=.*avr > /dev/null &&
echo --format=avr )
+ ELFSIZE = $(SIZE) $(MCU_FLAG) $(FORMAT_FLAG) $(TARGET).elf
endif
Original comment by gru...@gmail.com
on 24 Aug 2012 at 2:55
Attachments:
Note that I am NOT using avr-gcc 4.7.x though. So the OP will need to test.
Original comment by gru...@gmail.com
on 24 Aug 2012 at 2:56
As soon I get from work, I will try your patch and confirm whether it works,
but IMHO it will work like a charm.
Original comment by adam.bog...@gmail.com
on 24 Aug 2012 at 4:25
[deleted comment]
Works! Now I am able to build with patched Makefile ;)
Original comment by adam.bog...@gmail.com
on 24 Aug 2012 at 2:20
Original comment by bson...@gmail.com
on 26 Aug 2012 at 8:48
Original comment by gru...@gmail.com
on 28 Aug 2012 at 12:46
Original issue reported on code.google.com by
adam.bog...@gmail.com
on 23 Aug 2012 at 5:39