x86/build: Make 64-bit defconfig the default
authorArnd Bergmann <arnd@arndb.de>
Wed, 15 Feb 2023 09:16:56 +0000 (10:16 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 15 Feb 2023 13:20:17 +0000 (14:20 +0100)
commitf9bb7f6a7eb0efd282f7364115f97e652677a29b
treeb985e7f4f9e266a0498480437d9efdc623bb7a98
parente1c04510f521e853019afeca2a5991a5ef8d6a5b
x86/build: Make 64-bit defconfig the default

Running 'make ARCH=x86 defconfig' on anything other than an x86_64
machine currently results in a 32-bit build, which is rarely what
anyone wants these days.

Change the default so that the 64-bit config gets used unless
the user asks for i386_defconfig, uses ARCH=i386 or runs on
a system that "uname -m" identifies as i386/i486/i586/i686.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230215091706.1623070-1-arnd@kernel.org
arch/x86/Makefile