Closed GoogleCodeExporter closed 9 years ago
It looks like the baudcheck shell script gets generated without specifying
exactly which shell it should use. I heat that recent Ubuntu uses "dash"
instead of bash, and that probably doesn't work.
I'll try to fix this (keeping track of which shell specifications will work on
which OSes is ... obnoxious), but in the meantime you can try this workaround:
make SHELL=/bin/bash lilypad
Original comment by wes...@gmail.com
on 23 May 2013 at 3:55
Hmm. Not quite
root@gateway:~/optiboot/bootloaders/optiboot# make SHELL=/bin/bash lilypad
make atmega168 AVR_FREQ=8000000L LED_START_FLASHES=3
make[1]: Entering directory `/root/optiboot/bootloaders/optiboot'
/bin/bash: -c: line 0: unexpected EOF while looking for matching ``'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make[1]: *** [baudcheck] Error 1
make[1]: Leaving directory `/root/optiboot/bootloaders/optiboot'
make: *** [lilypad] Error 2
root@gateway:~/optiboot/bootloaders/optiboot#
Original comment by webw...@gmail.com
on 23 May 2013 at 5:45
As a workaround, I've made the makefile ignore errors in the "baudcheck" step:
http://code.google.com/p/optiboot/source/detail?r=a70f7a426c6498fad8e3f4a8eb2ee9
809ecd0a48
Original comment by wes...@gmail.com
on 8 Jun 2013 at 6:37
https://code.google.com/p/optiboot/source/detail?r=a10ef5c935a11a0e656927cd5e9b3
06937203f52
Original comment by wes...@gmail.com
on 28 Jun 2014 at 9:13
Original issue reported on code.google.com by
webw...@gmail.com
on 22 May 2013 at 9:56