From bf072683dba3691e7c0899882994a5fc6ef4d5e2 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 case, 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 (cherry picked from commit c475f3bc36a263bc7d3e1cdcd86fca0d48fbd27f) Signed-off-by: Peter Korsgaard --- 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 732ac65a25..905518d0bf 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_TUI