From d30c1e3c582545a770d40a63be5b7b477d6b1cba Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 21 Jul 2024 19:38:31 +0200 Subject: [PATCH] package/picotool: fix libusb dependencies libusb dependencies are wrong since the addition of the package in commit f7aac1c008f9c59f8c669bade17864b099221065: - BR2_HOST_GCC_AT_LEAST_4_9 is used instead of BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - BR2_TOOLCHAIN_HAS_THREADS is missing Fixes: f7aac1c008f9c59f8c669bade17864b099221065 - http://autobuild.buildroot.org/results/22689afc092e33b6e3c1c7ffea0d0e3b5bf76d99 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/picotool/Config.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package/picotool/Config.in b/package/picotool/Config.in index 0046f8ad61..bbbcef405d 100644 --- a/package/picotool/Config.in +++ b/package/picotool/Config.in @@ -1,10 +1,13 @@ -comment "picotool needs a toolchain w/ C++ and gcc >= 4.9" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_4_9 +comment "picotool needs a toolchain w/ C++, threads, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || \ + BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_PICOTOOL bool "picotool" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_HOST_GCC_AT_LEAST_4_9 # libusb + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_PICO_SDK help