[Buildroot] [git commit] package/uftrace: needs threads

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Apr 26 19:51:14 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=f06d79255fbf0607200f1cc50a5dd87839295be3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

uftrace needs threads since its addition to buildroot in commit
09c97972d9f90b69cfc36f9ffe9e22c13daf9307

Fixes:
 - http://autobuild.buildroot.org/results/d27c34a2f773aeb3c806d56dd2468d17caf2fbc6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/uftrace/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/uftrace/Config.in b/package/uftrace/Config.in
index 7aa74c9aa9..9af7ee8c28 100644
--- a/package/uftrace/Config.in
+++ b/package/uftrace/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
 config BR2_PACKAGE_UFTRACE
 	bool "uftrace"
 	depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_ARGP_STANDALONE if \
 	       BR2_TOOLCHAIN_USES_UCLIBC || \
 	       BR2_TOOLCHAIN_USES_MUSL
@@ -20,3 +21,6 @@ config BR2_PACKAGE_UFTRACE
 	  analysis of the program execution and performance.
 
 	  https://github.com/namhyung/uftrace
+
+comment "uftrace needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS


More information about the buildroot mailing list