Kaynağa Gözat

package/linux-tools: unbreak indentation for perf sub-options

Sub-options of a kconfig symbol are only preperly indented below that
sybol, if there is no inter-mixed sylbols or comments.

In this vase, the comment about perf being unavailable is in-between the
perf symbol and the sub-options, which means the perf options are int
indented.

Move the comment before the definition of perf, so that the options
directly follow the per fsymbol, and so they are properly indented.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Yann E. MORIN 2 yıl önce
ebeveyn
işleme
c475f3bc36
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      package/linux-tools/Config.in

+ 4 - 4
package/linux-tools/Config.in

@@ -47,6 +47,10 @@ config BR2_PACKAGE_LINUX_TOOLS_PCI
 
 
 	  These tools are available only from kernel version 4.20.
 	  These tools are available only from kernel version 4.20.
 
 
+comment "perf needs a toolchain w/ dynamic library"
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_LINUX_TOOLS_PERF
 config BR2_PACKAGE_LINUX_TOOLS_PERF
 	bool "perf"
 	bool "perf"
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
@@ -70,10 +74,6 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF
 
 
 	  https://perf.wiki.kernel.org/
 	  https://perf.wiki.kernel.org/
 
 
-comment "perf needs a toolchain w/ dynamic library"
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	depends on BR2_STATIC_LIBS
-
 if BR2_PACKAGE_LINUX_TOOLS_PERF
 if BR2_PACKAGE_LINUX_TOOLS_PERF
 
 
 config BR2_PACKAGE_LINUX_TOOLS_PERF_SCRIPTS
 config BR2_PACKAGE_LINUX_TOOLS_PERF_SCRIPTS