Re: [PATCH] Fix corruption of CONFIG_X86_32 in 'make oldconfig'

From: Ingo Molnar
Date: Mon May 30 2011 - 05:53:48 EST



* David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:

> On Mon, 2011-05-30 at 11:15 +0200, Ingo Molnar wrote:
> >
> > > I believe that this 'filtered randconfig' behaviour is now fairly much
> > > the *only* use for the old 'ARCH=i386' and 'ARCH=x86_64'.
> >
> > I use "make ARCH=i386 defconfig" and "make ARCH=x86_64 defconfig" all
> > the time.
>
> Good point. But shouldn't "make i386_defconfig" and "make
> x86_64_defconfig" do that?

Yeah, we could certainly fix (or extend?) kconfig to allow those
forms too, if you would like to use them.

I personally prefer 'make ARCH=i386 defconfig' and 'make ARCH=x86_64
defconfig' because it's a nice conceptual equivalent to:

make ARCH=arm defconfig
make ARCH=mips defconfig

et al.

'make ARCH=x86 defconfig' should probably default to the host bitness
version, or always default to 64-bit - right now it defaults to
i386_defconfig.

[ Note that some of the architectures are a bit weird there: for
example 'make ARCH=powerpc' will only work if you use a PPC
cross-compiler - but it generally works fine and i rely on that for
cross-build tooling. ]

As for your fix patch, is the wording i provided fine to you so i can
commit it? I think we should treat it differently from any defconfig
related fixes/enhancements and not delay it - the 2 years of delay
was already too long IMHO! ;-)

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/