Re: [PATCH] x86/config: Make the x86 defconfigs a bit more usable

From: Linus Torvalds
Date: Sat Sep 10 2022 - 13:29:20 EST


On Fri, Sep 9, 2022 at 6:05 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> If you do not like the inconsistency,
> the support for ARCH=i386 and ARCH=x86_64 must be removed.

Is there any sane alternative for "do cross-architecture test builds"?

I do things like "make ARCH=i386 allmodconfig" myself, and I have to
admit that it's annoying that you have to then remember to do "make
ARCH=ii386" to do the actual build too, because otherwise Kcoinfig
will mess up the architecture, because it didn't make it into the
final simplified .config.

This is probably more noticeable with "defconfig" because then the
"ARCH=xyz" part has *other* effects too (ie it is also what says
*which* defconfig to pick).

So this is a bit of an annoyance, in that it's not trivial to just
"make the config for ARCH xyz" and then "make".

Linus