arm64: Kconfig: make CMDLINE_FORCE depend on CMDLINE
authorAnders Roxell <anders.roxell@linaro.org>
Mon, 11 Nov 2019 08:59:56 +0000 (09:59 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 11 Nov 2019 18:22:57 +0000 (18:22 +0000)
commitf70c08e46d55126efa6d23e149f8472c178686f2
treee692e62d32b19692d7027ce81c7c59823ed9f0c5
parentba603c2f0794a5c44516ad42f1064008048329ba
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>
arch/arm64/Kconfig