Root/
| 1 | # --- build instructions common for OpenWRT and Jlime ------------------------- |
| 2 | |
| 3 | wget http://download.savannah.gnu.org/releases/avrdude/avrdude-5.11.1.tar.gz |
| 4 | tar xfz avrdude-5.11.1.tar.gz |
| 5 | cd avrdude-5.11.1 |
| 6 | |
| 7 | ln -s ../patches |
| 8 | quilt push -a |
| 9 | |
| 10 | aclocal |
| 11 | automake |
| 12 | |
| 13 | # --- build instructions for OpenWRT ------------------------------------------ |
| 14 | |
| 15 | ./configure --prefix=/ --host=mipsel-openwrt-linux |
| 16 | make |
| 17 | |
| 18 | scp avrdude.conf ben:/etc/ |
| 19 | scp avrdude ben:/usr/bin/ |
| 20 | |
| 21 | # --- build instructions for Jlime -------------------------------------------- |
| 22 | |
| 23 | (From 5.10. Section may need updating for 5.11.1.) |
| 24 | |
| 25 | ./configure --prefix=/ --host=mipsel-linux |
| 26 | make </dev/null |
| 27 | # the joy of autocrap (we need this to generate avrdude.conf) |
| 28 | ./configure --prefix=/ --host=mipsel-linux |
| 29 | |
| 30 | scp avrdude.conf jlime:/etc/ |
| 31 | scp avrdude jlime:/usr/bin/ |
| 32 | |
| 33 | # ----------------------------------------------------------------------------- |
| 34 | |
| 35 | To make a statically linked version, follow the build instructions for |
| 36 | OpenWRT, then |
| 37 | |
| 38 | rm avrdude |
| 39 | make CC="mipsel-openwrt-linux-gcc -static -s" avrdude |
| 40 | mv avrdude avrdude-static |
| 41 |
Branches:
master
