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

From: Paul Bolle
Date: Fri Apr 03 2015 - 17:44:02 EST

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. I think it would be
nice if we teach those make targets (through tweaks in Kconfig files
and/or Makefiles) to avoid doing that.

Not sure, yet, how a clean way to do that might look like, sorry.

Paul Bolle

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at