[Buildroot] [git commit] package/linux-tools: unbreak indentation for perf sub-options
Yann E. MORIN
yann.morin.1998 at free.fr
Tue Sep 6 20:41:54 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=c475f3bc36a263bc7d3e1cdcd86fca0d48fbd27f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at free.fr>
---
package/linux-tools/Config.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in
index 253a8593b9..82e62f826e 100644
--- a/package/linux-tools/Config.in
+++ b/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.
+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
bool "perf"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
@@ -70,10 +74,6 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF
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
config BR2_PACKAGE_LINUX_TOOLS_PERF_SCRIPTS
More information about the buildroot
mailing list