diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in index 82e62f826e..8a0b6d5802 100644 --- a/package/linux-tools/Config.in +++ b/package/linux-tools/Config.in @@ -47,14 +47,15 @@ config BR2_PACKAGE_LINUX_TOOLS_PCI These tools are available only from kernel version 4.20. -comment "perf needs a toolchain w/ dynamic library" +comment "perf needs a toolchain w/ dynamic library, threads" depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_LINUX_TOOLS_PERF bool "perf" depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_LINUX_TOOLS help perf (sometimes "Perf Events" or perf tools, originally