From c475f3bc36a263bc7d3e1cdcd86fca0d48fbd27f Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 6 Sep 2022 22:41:54 +0200 Subject: [PATCH] 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 --- 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