[Buildroot] [git commit] package/tcl: move comment around, to keep proper indentation

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Dec 28 16:58:01 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=ac371770de69b5ee5f15eed7dd790558b8835d7d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
---
 package/tcl/Config.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/tcl/Config.in b/package/tcl/Config.in
index 63d1b25..f1fa054 100644
--- a/package/tcl/Config.in
+++ b/package/tcl/Config.in
@@ -1,3 +1,7 @@
+comment "tcl needs a toolchain w/ threads, dynamic library"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+
 config BR2_PACKAGE_TCL
 	bool "tcl"
 	# fork()
@@ -11,10 +15,6 @@ config BR2_PACKAGE_TCL
 
 	  http://www.tcl.tk
 
-comment "tcl needs a toolchain w/ threads, dynamic library"
-	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
-
 if BR2_PACKAGE_TCL
 
 config BR2_PACKAGE_TCL_DEL_ENCODINGS


More information about the buildroot mailing list