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