Re: [PATCH] x86/Kconfig: Fix allnoconfig without explicitly specified ARCH

2015-04-04 Thread Ingo Molnar
* Paul Bolle wrote: > On Fri, 2015-04-03 at 19:23 +0200, Borislav Petkov wrote: > > On Fri, Apr 03, 2015 at 05:33:03PM +0200, Paul Bolle wrote: > > > Well, "when building on 32 bits" it currently suffices to do: > > > make allnoconfig > > > > > > and the patch changes that. > > > > Hmm, so

Re: [PATCH] x86/Kconfig: Fix allnoconfig without explicitly specified ARCH

2015-04-03 Thread Paul Bolle
On Fri, 2015-04-03 at 19:23 +0200, Borislav Petkov wrote: > On Fri, Apr 03, 2015 at 05:33:03PM +0200, Paul Bolle wrote: > > Well, "when building on 32 bits" it currently suffices to do: > > make allnoconfig > > > > and the patch changes that. > > Hmm, so this would need more staring. The fact

Re: [PATCH] x86/Kconfig: Fix allnoconfig without explicitly specified ARCH

2015-04-03 Thread Borislav Petkov
On Fri, Apr 03, 2015 at 05:33:03PM +0200, Paul Bolle wrote: > Well, "when building on 32 bits" it currently suffices to do: > make allnoconfig > > and the patch changes that. Hmm, so this would need more staring. The fact that 64-bit needs to set CONFIG_64BIT, we would need a way to say:

Re: [PATCH] x86/Kconfig: Fix allnoconfig without explicitly specified ARCH

2015-04-03 Thread Paul Bolle
Borislav Petkov schreef op vr 03-04-2015 om 16:59 [+0200]: > On Fri, Apr 03, 2015 at 03:42:18PM +0200, Paul Bolle wrote: > > A side effect of this patch is that allnoconfig when building on 32 bits > > now also requires to set ARCH=i386, which is surprising. This seems to > > How else would you bu

Re: [PATCH] x86/Kconfig: Fix allnoconfig without explicitly specified ARCH

2015-04-03 Thread Borislav Petkov
On Fri, Apr 03, 2015 at 03:42:18PM +0200, Paul Bolle wrote: > A side effect of this patch is that allnoconfig when building on 32 bits > now also requires to set ARCH=i386, which is surprising. This seems to How else would you build a 32-bit allnoconfig? -- Regards/Gruss, Boris. ECO tip #10

Re: [PATCH] x86/Kconfig: Fix allnoconfig without explicitly specified ARCH

2015-04-03 Thread Paul Bolle
Borislav Petkov schreef op vr 03-04-2015 om 13:00 [+0200]: > From: Borislav Petkov > > Doing > > $ make allnoconfig > > I get a 32-bit allnoconfig: > > $ grep -i x86 .config > # Linux/x86 4.0.0-rc6 Kernel Configuration > CONFIG_X86_32=y > CONFIG_X86=y > CONFIG_ARCH_DEFCONFIG="arch/

[PATCH] x86/Kconfig: Fix allnoconfig without explicitly specified ARCH

2015-04-03 Thread Borislav Petkov
From: Borislav Petkov Doing $ make allnoconfig I get a 32-bit allnoconfig: $ grep -i x86 .config # Linux/x86 4.0.0-rc6 Kernel Configuration CONFIG_X86_32=y CONFIG_X86=y CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" The same if I do: $ make ARCH=i386 allnoconfig $ gr