Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anders Roxell and committed by
Catalin Marinas
f70c08e4 ba603c2f

+1
+1
arch/arm64/Kconfig
··· 1629 1629 1630 1630 config CMDLINE_FORCE 1631 1631 bool "Always use the default kernel command string" 1632 + depends on CMDLINE != "" 1632 1633 help 1633 1634 Always use the default kernel command string, even if the boot 1634 1635 loader passes other arguments to the kernel.