[Buildroot] Incorrect kernel configuration produced from _defconfig file

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Feb 25 17:03:52 UTC 2016


Dear Alexandre Belloni,

On Thu, 25 Feb 2016 17:50:32 +0100, Alexandre Belloni wrote:

> Personally, I'd drop the yes "" | part of it and use only make
> olddefconfig but the rules are also used for busybox et al. so you'd
> have to check that all have a recent enough kconfig

I think the reason we still use the yes "" trick is that we have a
generic kconfig infrastructure, and it should work for all kconfig
based packages. Including old kernel version (when was
olddefconfig introduced?) or Busybox (which has an horribly old copy of
the kconfig code).

So switching to olddefconfig might not be that easy. But maybe this is
something that can be made conditional in the pkg-kconfig
infrastructure. Like use olddefconfig if available, and if not fall
back to the yes "" | make oldconfig trick.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list