mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 06:10:56 +00:00
arm64: Kconfig: make CMDLINE_FORCE depend on CMDLINE
When building allmodconfig KCONFIG_ALLCONFIG=$(pwd)/arch/arm64/configs/defconfig CONFIG_CMDLINE_FORCE gets enabled. Which forces the user to pass the full cmdline to CONFIG_CMDLINE="...". Rework so that CONFIG_CMDLINE_FORCE gets set only if CONFIG_CMDLINE is set to something except an empty string. Suggested-by: John Garry <john.garry@huawei.com> Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
parent
ba603c2f07
commit
f70c08e46d
1 changed files with 1 additions and 0 deletions
|
@ -1629,6 +1629,7 @@ config CMDLINE
|
||||||
|
|
||||||
config CMDLINE_FORCE
|
config CMDLINE_FORCE
|
||||||
bool "Always use the default kernel command string"
|
bool "Always use the default kernel command string"
|
||||||
|
depends on CMDLINE != ""
|
||||||
help
|
help
|
||||||
Always use the default kernel command string, even if the boot
|
Always use the default kernel command string, even if the boot
|
||||||
loader passes other arguments to the kernel.
|
loader passes other arguments to the kernel.
|
||||||
|
|
Loading…
Reference in a new issue