Hi,

On Fri, Jul 15, 2016 at 09:07:07AM +0100, David Fernandez wrote:
> I'm trying to have a kernel package to emnable some kernel configuration
> settings.
> 
> I've tried using the KCONFIG:=CONFIG_XXX in the kernel packages, or creating
> "config KERNEL_XXX" in any kind of package.
> 
> Only to find that the setting makes it as far as $(LINUX_DIR)/.config.set
> but never into $(LINUX_DIR)/.config
> 
> Is there a way to do this?

There is a strange bug with Kconfig, maybe you are hitting it.  Basically,
if a Kconfig symbol does not have a string description attached to it, it
is not possible to select it directly.

Have a look at all the "kconfig hacks" patches that are here as
workaround, for instance:

  
https://git.lede-project.org/?p=source.git;a=blob;f=target/linux/generic/patches-4.4/254-textsearch_kconfig_hacks.patch;hb=HEAD

I tried to track the bug down, but it's quite complex.  It definitely
looks like it comes from the scripts/kconfig tool upstream, not from
OpenWRT/LEDE.

OpenWRT/LEDE passes all the kernel symbols it wants to select to
scripts/kconfig from Linux, presumably to handle symbol dependencies in
the kernel.  But kconfig seems to ignore symbols for which there is no
string description (in the KConfig file that defines the symbol).

Attachment: signature.asc
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to