]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit876601d7813a6d9ad3afd17f0db43a2e4cf76865
treee692e62d32b19692d7027ce81c7c59823ed9f0c5
parent676d14d0ed8712b3eb4cc686d0e69ab5c5f2a383
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