[Buildroot] [git commit branch/2020.02.x] package/libllcp: drop wrong comment

Peter Korsgaard peter at korsgaard.com
Tue Jan 5 16:46:51 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=dbdea2ed1ff7213421fb21469b31d52bb45dc9e8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

Dependency on threads comes from libllcp itself not from libusb (which
is not even selected)

While at it, also add a comment about this dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit b9dc9709090e6ccaba20ce08c720ec3deda10091)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libllcp/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/libllcp/Config.in b/package/libllcp/Config.in
index 1660e92a87..5dc5c36a67 100644
--- a/package/libllcp/Config.in
+++ b/package/libllcp/Config.in
@@ -1,9 +1,12 @@
 config BR2_PACKAGE_LIBLLCP
 	bool "libllcp"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBNFC
 	help
 	  Library extending libnfc with support for Logical Link Control
 	  Protocol.
 
 	  https://github.com/nfc-tools/libllcp
+
+comment "libllcp needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS


More information about the buildroot mailing list