Package Feeds

After decompressing the SDK archive, edit the feeds.conf.default file to download the needed package definitions

Usage

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.

Obtain Definitions

Use the ./scripts/feeds update -a command to obtain package definitions.

After the definitions have been updates, execute ./scripts/feeds install <packagename> to prepare the package and its dependencies.

Compile Packages

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

Some packages are built on host:

$ make package/example/host/{clean,compile} V=99

The common command to recompile a package example and enable verbose output is:

$ make package/example/{clean,compile} V=99

After the compilation is finished, the generated .ipk files are placed in the bin directory.

The output of make might contain WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!. That warning is misleading and wrong in the SDK case. Since everything is precompiled you cannot run oldconfig (see Why is the SDK configuration out of sync?).