1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-05 10:29:42 +02:00
ben-blinkenlights/avrdude
Werner Almesberger a628cfa33c avrduded/patches/: remove ATmega32u2 config entry
Avrdude 5.11.1 already comes with an ATmega32u2 configuration.
2012-07-22 13:16:12 -03:00
..
patches avrduded/patches/: remove ATmega32u2 config entry 2012-07-22 13:16:12 -03:00
README avrdude/: upgrade from avrdude-5.10 to avrdude-5.11.1 2012-07-22 10:34:42 -03:00

# --- build instructions common for OpenWRT and Jlime -------------------------

wget http://download.savannah.gnu.org/releases/avrdude/avrdude-5.11.1.tar.gz
tar xfz avrdude-5.11.1.tar.gz
cd avrdude-5.11.1

ln -s ../patches
quilt push -a

aclocal
automake

# --- build instructions for OpenWRT ------------------------------------------

./configure --prefix=/ --host=mipsel-openwrt-linux
make

scp avrdude.conf ben:/etc/
scp avrdude ben:/usr/bin/

# --- build instructions for Jlime --------------------------------------------

(From 5.10. Section may need updating for 5.11.1.)

./configure --prefix=/ --host=mipsel-linux
make </dev/null
# the joy of autocrap (we need this to generate avrdude.conf)
./configure --prefix=/ --host=mipsel-linux

scp avrdude.conf jlime:/etc/
scp avrdude jlime:/usr/bin/

# -----------------------------------------------------------------------------

To make a statically linked version, follow the build instructions for
OpenWRT, then

rm avrdude
make CC="mipsel-openwrt-linux-gcc -static -s" avrdude
mv avrdude avrdude-static