[OpenWrt-Devel] [PATCH v4 4/4] kernel: 3.18: Strip off all the useless options
Maxime Ripard
maxime.ripard at free-electrons.com
Mon Dec 15 05:09:04 EST 2014
On Sat, Dec 13, 2014 at 07:50:52PM +0100, Jonas Gorski wrote:
> > Ok, I think most of it is because of options enabled by default. I
> > wonder why that happens, but I also wonder why it hasn't been picked
> > up by my tests.
>
> I already somewhat expected that.
>
> So make savedefconfig then likely dropped any non-generic non-arm
> config symbols regardless whether they are at their default or
> non-default values, causing these discrepancies on non-arm targets.
>
> The safest would be to create the reduced config-* as the union of all
> target's savedefconfig results, but only using one for each ARCH might
> also suffice.
I don't think the latter is supported right now, so the first one
would be the easiest path to follow (and that doesn't prevent from
adding later those arch defconfig fragments, that makes a lot of sense
too).
> > What configuration are you using? Do you have any modifications of
> > some sort (beside the switch to 3.18?)
>
> All I did was switch to 3.18, then did a make target/linux/compile (so
> it generated and "cleaned up" the .config in
> build_dir/target-*/linux-*/). I might have a few non-default values in
> the openwrt-buildroot config, but I did not have any local patches
> applied.
Ok.
> One other thing I just noticed: this currently makes "make
> kernel_*config" unusable. "make kernel_oldconfig" will ask about about
> everything that is at its defaultvalue, while finishing any *config
> will result all default values to be added to the config-* in
> target/linux/<target>/. This might be easily fixable by running make
> savedefconfig first before the openwrt scripts create the difference
> from the generic config-* and the new .config for the new target
> config-*
Hmmm, indeed. I'll fix that.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20141215/09f8ca5a/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list