Skip to content

Commit f70c08e

Browse files
roxellctmarinas
authored andcommitted
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 <[email protected]> Acked-by: Will Deacon <[email protected]> Signed-off-by: Anders Roxell <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
1 parent ba603c2 commit f70c08e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,6 +1629,7 @@ config CMDLINE
16291629

16301630
config CMDLINE_FORCE
16311631
bool "Always use the default kernel command string"
1632+
depends on CMDLINE != ""
16321633
help
16331634
Always use the default kernel command string, even if the boot
16341635
loader passes other arguments to the kernel.

0 commit comments

Comments
 (0)