You should find bz2-archives ready for download in the corresponding download directory:
→configuration Choose you Target System and then
After the compilation, you will find in
By default the SDK ships with no package definitions.
Makefiles for packages to compile must be checked out from the OpenWrt repository and placed into the
package/ directory first.
svn export command to obtain package definitions.
OpenWrt's Trunk package feed is located at
the Trac browser can be used to find the appropriate subdirectory.
The example below checks out the nano editor from the repository:
| $ svn export svn:svn.openwrt.org/openwrt/packages/utils/nano package/nano
Exported revision 20365.
Many packages require additional dependencies which can be found in the package Makefile:
If there are additional dependencies, those need to be fetched and compiled as well.
After the Makefile is in place, the usual buildroot commands apply:
make package/example/download- download the soures of example
make package/example/prepare- extract the sources, apply patches and download if necessary
make package/example/compile- compile example, prepare and download if necessary
make package/example/clean- clean the sourcecode
make package/index- build a repository index to make the output directory usable as local opkg source
The common command to recompile a package example and enable verbose output is:
After the compilation is finished, the generated .ipk files are placed in the bin directory.
The example below rebuilds nano.