[LEDE-DEV] [OpenWrt-Devel] Latest OpenWRT on Gemini v4.14

Linus Walleij linus.walleij at linaro.org
Thu Mar 1 04:49:42 PST 2018


On Wed, Feb 28, 2018 at 9:21 AM, Felix Fietkau <nbd at nbd.name> wrote:

> In OpenWrt, we don't keep full kernel configurations in our target
> config-* files. We have a generic config template, and the target config
> file is supposed to contain only changes to the generic config template.
> Merging and splitting is automated and scripted.
> If you run make kernel_oldconfig, it will copy the config to the kernel
> build dir, run make oldconfig in the kernel tree, then split the config
> again and keep only the target specific bits.
>
> The next step is then to go through the generated file by hand and throw
> out any lines that change things relative to the OpenWrt default that
> shouldn't really be changed for the target.

I see! OK I'm onto it.

> This keeps our target config files maintainable and makes it easy for us
> to change defaults for all targets as well.

OK no problem, I'll update the (big) patch.

Yours,
Linus Walleij



More information about the Lede-dev mailing list