mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] move FLEXIBLE_BOOTARGS from commands/ to common/
@ 2016-04-25 11:39 Sascha Hauer
  0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2016-04-25 11:39 UTC (permalink / raw)
  To: Barebox List

FLEXIBLE_BOOTARGS also works without command support being enabled.
Move this option from commands/Kconfig to common/Kconfig so that
it doesn't depend on COMMAND_SUPPORT.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 commands/Kconfig | 13 -------------
 common/Kconfig   | 12 ++++++++++++
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/commands/Kconfig b/commands/Kconfig
index 875c5f4..13dd9bb 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -266,19 +266,6 @@ endmenu
 
 menu "Boot"
 
-# TODO: isn't a command
-config FLEXIBLE_BOOTARGS
-	bool
-	prompt "flexible Linux bootargs generation"
-	depends on CMD_GLOBAL
-	help
-	  Select this to get a more flexible bootargs generation. With this
-	  option the bootargs are concatenated together from global variables
-	  beginning with 'global.linux.bootargs.' and 'global.linux.mtdparts.'
-	  This allows for more flexible scripting since with it it's possible
-	  to replace parts of the bootargs string without reconstructing it
-	  completely.
-
 config CMD_AT91_BOOT_TEST
 	bool "at91_boot_test"
 	depends on ARCH_AT91
diff --git a/common/Kconfig b/common/Kconfig
index 7c09e8c..d00ca6b 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -536,6 +536,18 @@ config BLSPEC
 	  on a device and it allows the Operating System to install / update
 	  kernels.
 
+config FLEXIBLE_BOOTARGS
+	bool
+	prompt "flexible Linux bootargs generation"
+	depends on GLOBALVAR
+	help
+	  Select this to get a more flexible bootargs generation. With this
+	  option the bootargs are concatenated together from global variables
+	  beginning with 'global.linux.bootargs.' and 'global.linux.mtdparts.'
+	  This allows for more flexible scripting since with it it's possible
+	  to replace parts of the bootargs string without reconstructing it
+	  completely.
+
 config IMD
 	bool "barebox metadata support"
 
-- 
2.8.0.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-25 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-25 11:39 [PATCH] move FLEXIBLE_BOOTARGS from commands/ to common/ Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox