linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* KCONFIG savedefconfig
@ 2010-08-07  3:25 david
  2010-08-07  4:09 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: david @ 2010-08-07  3:25 UTC (permalink / raw)
  To: linux-kernel

when savedefconfig decides what to write out, what does it do for things 
that are not at the default, but were set to not be default as part of 
dependancy resolution?

David Lang

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: KCONFIG savedefconfig
  2010-08-07  3:25 KCONFIG savedefconfig david
@ 2010-08-07  4:09 ` Sam Ravnborg
  2010-08-07  4:49   ` david
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2010-08-07  4:09 UTC (permalink / raw)
  To: david; +Cc: linux-kernel

On Fri, Aug 06, 2010 at 08:25:43PM -0700, david@lang.hm wrote:
> when savedefconfig decides what to write out, what does it do for things  
> that are not at the default, but were set to not be default as part of  
> dependancy resolution?

The short version:
Any symbol that does not have default value are written to
the defconfig file.

Using the defconfig file as input or using the full config file
as input shall result in the same configuration.
If not you found a bug we need to fix.

Arve found one bug I have to look into - pending feedback.
And I have found one bug related to tristate choice values.

So a bit work is needed to make it ready :-(
But it works for most of the defconfig we have today.

	Sam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: KCONFIG savedefconfig
  2010-08-07  4:09 ` Sam Ravnborg
@ 2010-08-07  4:49   ` david
  0 siblings, 0 replies; 3+ messages in thread
From: david @ 2010-08-07  4:49 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel

On Sat, 7 Aug 2010, Sam Ravnborg wrote:

> On Fri, Aug 06, 2010 at 08:25:43PM -0700, david@lang.hm wrote:
>> when savedefconfig decides what to write out, what does it do for things
>> that are not at the default, but were set to not be default as part of
>> dependancy resolution?
>
> The short version:
> Any symbol that does not have default value are written to
> the defconfig file.
>
> Using the defconfig file as input or using the full config file
> as input shall result in the same configuration.
> If not you found a bug we need to fix.

Ok, so I take this to mean that if selecting one symbol forces selection 
of another, then both symbols will be written to the defconfig file, even 
though only the first would be needed to recreate the full file.

this is a wonderful step forward, I'm just trying to understand the 
nuances of it.

David Lang

> Arve found one bug I have to look into - pending feedback.
> And I have found one bug related to tristate choice values.
>
> So a bit work is needed to make it ready :-(
> But it works for most of the defconfig we have today.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-07  4:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-07  3:25 KCONFIG savedefconfig david
2010-08-07  4:09 ` Sam Ravnborg
2010-08-07  4:49   ` david

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).