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

From: Ingo Molnar
Date: Sat Apr 04 2015 - 05:35:35 EST



* Paul Bolle <pebolle@xxxxxxxxxx> 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 this would need more staring. The fact that 64-bit needs to set
> > CONFIG_64BIT, we would need a way to say:
> >
> > option allnoconfig_y if ARCH = "x86"
> >
> > And Kconfig doesn't support that yet...
>
> The fact that "make allnoconfig" and "make allyesconfig" can give you
> a .config for another subarchitecture is annoying. [...]

Absolutely! No 'make *config' option should change the current
.config's architecture, except if ARCH= is specified on the command
line.

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/