[OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

John Szakmeister john at szakmeister.net
Wed Mar 25 11:43:06 EDT 2015

On Mon, Mar 23, 2015 at 10:50 AM, Jo-Philipp Wich <jow at openwrt.org> wrote:
> Hi.
>> Thanks, I got it now. So I should run make oldconfig when compiling
>> automatically everyday?
> The best approach is the following:
> - Initially use menuconfig and select stuff as you like
> - Extract the delta compared to the defualt configuration with
>   scripts/diffconfig.sh:
>     $ ./scripts/diffconfig.sh > config.seed
> - When building a new iteration, create a new .config from scratch
>   using the seed file and defconfig to autopopulate the rest:
>     $ cp config.seed .config && make defconfig

Why not just use:

    ./scripts/config/conf --savedefconfig=config.seed Config.in

And use make defconfig to populate the full config?  Is there
something that this workflow misses?

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list