]> Git Repo - linux.git/commitdiff
arm64: Kconfig: make CMDLINE_FORCE depend on CMDLINE
authorAnders Roxell <[email protected]>
Mon, 11 Nov 2019 08:59:56 +0000 (09:59 +0100)
committerCatalin Marinas <[email protected]>
Mon, 11 Nov 2019 18:22:57 +0000 (18:22 +0000)
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 <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Anders Roxell <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/Kconfig

index 3e53441ee067970b30f219a50f6cb6ea23d53518..8a0800e5be9d948980d5027915b36bc7021411f4 100644 (file)
@@ -1629,6 +1629,7 @@ config CMDLINE
 
 config CMDLINE_FORCE
        bool "Always use the default kernel command string"
+       depends on CMDLINE != ""
        help
          Always use the default kernel command string, even if the boot
          loader passes other arguments to the kernel.
This page took 0.058299 seconds and 4 git commands to generate.