]> git.baikalelectronics.ru Git - kernel.git/commit
x86/Kconfig: Make CMDLINE_OVERRIDE depend on non-empty CMDLINE
authorAnders Roxell <anders.roxell@linaro.org>
Fri, 24 Jan 2020 11:46:15 +0000 (12:46 +0100)
committerBorislav Petkov <bp@suse.de>
Wed, 26 Feb 2020 12:31:46 +0000 (13:31 +0100)
commit599cb2761fa16c5d2245905de7896990a4c3a8c4
tree8620f21e85a2c474b0b32f1871aa49fd896b743a
parent218d2ac1a4bfbb8ed3c4e9a719c4de27a9bf80db
x86/Kconfig: Make CMDLINE_OVERRIDE depend on non-empty CMDLINE

When trying to boot an allmodconfig kernel that is built with
KCONFIG_ALLCONFIG=$(pwd)/arch/x86/configs/x86_64_defconfig, it doesn't
boot since CONFIG_CMDLINE_OVERRIDE gets enabled and that requires the
user to pass the full cmdline to CONFIG_CMDLINE.

Change so that CONFIG_CMDLINE_OVERRIDE gets set only if CONFIG_CMDLINE
is set to something except an empty string.

 [ bp: touchup. ]

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200124114615.11577-1-anders.roxell@linaro.org
arch/x86/Kconfig