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

From: Ted Ts'o
Date: Tue May 31 2011 - 08:12:32 EST


On Tue, May 31, 2011 at 09:55:47AM +0100, David Woodhouse wrote:
> On Tue, 2011-05-31 at 09:53 +0200, Ingo Molnar wrote:
> > I'll always prefer typing:
> > make ARCH=x86_64 ...
> > To:
> > make ARCH=x86 CONFIG_64BIT=y ...
>
> You're not building on an x86 box? I always suspected you had some alien
> technology! Does it run Linux?
>
> Why else would you need to specify ARCH=x86 on the latter command line?

I don't know why Ingo needs ARCH=x86 on the command line, but I
regularly type "make ARCH=i386" when building 32-bit kernels on a
64-bit system, and my scripts use "make ARCH=x86_64" when building
64-bit kernels (just in case I happen to have booted a 32-bit kernel).

- Ted

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