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, 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


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