Re: [PATCH] Allow kconfig to accept overrides

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Oct 12 2007 14:49, Randy Dunlap wrote:
> Jan Engelhardt wrote:
>> Allow config variables in .config to override earlier ones in the same
>> file. In other words,
>> 
>>  # CONFIG_SECURITY is not defined
>>  CONFIG_SECURITY=y
>> 
>> will activate it. This makes it a bit easier to do
>> 
>>  (cat original-config myconfig myconfig2 ... >.config)
>> 
>> and run menuconfig as expected.
>
> This is a feature that we want IMO, but I already do this without having
> a patch for it (although to a lesser degree than full config files;
> I just cat a few entries to the end of a config file then run oldconfig)...
> so are there some cases where it works and some cases
> where it doesn't work?  Do you know what those cases are?

$ echo "CONFIG_CRC7=m" >>../obj-2.6.23/.config

$ make O=/ws/linux/obj-2.6.23 menuconfig
  GEN     /ws/linux/obj-2.6.23/Makefile
scripts/kconfig/mconf arch/i386/Kconfig
.config:3669:warning: trying to reassign symbol CRC7
	(Just save+exit)

$ grep CONFIG_CRC7 ../obj-2.6.23/.config
# CONFIG_CRC7 is not set
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux