Messages in this thread | | | Date | Mon, 30 May 2011 15:55:45 -0400 | From | Ted Ts'o <> | Subject | Re: [PATCH] Fix corruption of CONFIG_X86_32 in 'make oldconfig' |
| |
On Mon, May 30, 2011 at 08:03:08PM +0100, David Woodhouse wrote: > > And that the legacy trick of using ARCH=i386 or ARCH=x86_64 as a hack to > override *just* CONFOG_64BIT, although nobody has posted a patch which > removes or breaks that, probably ought to be deprecated in favour of a > more generic way to override config options - one that doesn't work only > for *one* config option, and only on *one* architecture.
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.
The other way would be some kind of new tagging in the .config file itself, e.g.:
CONFIG_64BIT=y # FIXED
There are all sorts of interesting design questions hidden in here, of course, including what if the fixedpoint declarations (whether done via a separate file or via tags in .config) are mutually inconsistent.
- Ted
| |