lkml.org 
[lkml]   [2011]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix corruption of CONFIG_X86_32 in 'make oldconfig'
On Mon, 30 May 2011, Ted Ts'o wrote:

> So I could imagine two ways of doing this. One would be a new file,
> .config-fixed, that contains a series of "CONFIG_XXX=[ymn]" which
> would have to be satisfied and which override what
> allyesconfig/allnoconfig/randconfig would otherwise do.

Which is apparently what KCONFIG_ALLCONFIG already does? It doesn't work
for choices, but it's still fine for setting/clearing CONFIG_64BIT.

We'll want to make it simpler to use - so you really can do something like
make CONFIG_64BIT=n randconfig
make CONFIG_64BIT=n allmodconfig
make CONFIG_64BIT=y CONFIG_SATA_MV=y oldconfig
etc. without having to create a text file. But that's not hard. A simple
implementation might just *make* a file with the options on the command
line and point KCONFIG_ALLCONFIG at it to start with, although there are
probably cleaner ways to implement it.

And then this legacy trick of using the obsolete $ARCH settings to
override the setting of CONFIG_64BIT can be deprecated.

--
dwmw2



\
 
 \ /
  Last update: 2011-05-30 22:15    [W:0.561 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site