User Tools

Site Tools


Build a package

This page is about how to build a package for an existing OpenWrt distribution without rebuilding the whole world or using the SDK (because it doesn't work on your host system). The instructions come from the forum topic

git clone
./scripts/feeds update
make defconfig
make package/symlinks

If you get an error at “make defconfig” saying that ncurses.h wasn't found install libncurses5-dev package on your system.

Then copy the config.x86_generic, or whichever you need, from the SDK into .config

make menuconfig
make menuconfig -> check nano and libncurses
make tools/install
make toolchain/install
make target/compile
./scripts/feeds install owhttpd
make package/owhttpd/prepare
make package/owhttpd/compile
make package/owhttpd/install

make package/index
docs/guide-developer/build.a.package.txt · Last modified: 2018/06/04 11:00 by kofec