This shows you the differences between two versions of the page.
flm02:build [2011/11/22 15:07] paalsteek angelegt |
flm02:build [2013/05/22 14:02] (current) paalsteek |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Install Dependencies ==== | ||
+ | |||
+ | The OpenWRT-Toolchain depends (among others) on the following software: | ||
+ | |||
+ | * Subversion | ||
+ | * GNU Make | ||
+ | * GNU G++ | ||
+ | * GNU AWK | ||
+ | * Flex | ||
+ | * ZLib (header files) | ||
+ | * Ncurses (header files) | ||
+ | |||
+ | On an Ubuntu 12.04 issue the following command: | ||
+ | |||
+ | sudo apt-get install git subversion build-essential libncurses-dev libz-dev gawk flex | ||
+ | |||
+ | |||
+ | Building the target system requires the following additional packages: | ||
+ | |||
+ | * Perl XML::Parser | ||
+ | * GNU C Compiler (cross compiler for avr) | ||
+ | |||
+ | On Ubuntu 12.04 you can issue the following command: | ||
+ | |||
+ | sudo apt-get install libxml-parser-perl gcc-avr avr-libc | ||
+ | |||
+ | |||
+ | ==== Build ==== | ||
+ | |||
* Run install.sh in the openwrt folder of the git repository passing a directory for the build environment as parameter | * Run install.sh in the openwrt folder of the git repository passing a directory for the build environment as parameter | ||
* change to the given folder and run make | * change to the given folder and run make |