On Tue, 26 Jun 2018 10:26:22 +0200, Michal Kubecek wrote:
On Tuesday, 26 June 2018 10:13 Michal Suchánek wrote:
I suppose it might be a bug. We have
# Select 32 or 64 bit config 64BIT bool "64-bit kernel" if ARCH = "x86" default ARCH != "i386" ---help--- Say yes to build a 64-bit kernel - formerly known as x86_64 Say no to build a 32-bit kernel - formerly known as i386
So the option has a description and the value should be saved even after f467c5640c29ad258c3cd8186a776c82fc3b8057 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols") but it is not.
The trick seems to be the `if ARCH = "x86"' above. There are three possibilities:
- with ARCH not set, it defaults to "x86" and "make *config" asks for the value (and writes the result) - with ARCH=x86_64, "make *config" does not ask, defaults to "y" and writes the "result" - with ARCH=i386, "make *config" does not ask, defaults to "n" and does not write the result (as the symbol is not "visible")
Argh, right, thanks for pointing out. So assuming that passing ARCH= is now mandatory, I believe we should handle it in Makefile, not by passing from each KMP.
However, we are going to have much bigger problem starting with 4.18-rc1 as there even running "make oldconfig" with ARCH set may result in different .config than running it on the actual architecture.
Oh that's messy... How can it happen? Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org