diff --git a/package/python-libusb1/Config.in b/package/python-libusb1/Config.in index e464a0394d..fbad70c375 100644 --- a/package/python-libusb1/Config.in +++ b/package/python-libusb1/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_LIBUSB1 bool "python-libusb1" + depends on BR2_PACKAGE_PYTHON3 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb select BR2_PACKAGE_LIBUSB @@ -9,5 +10,6 @@ config BR2_PACKAGE_PYTHON_LIBUSB1 http://github.com/vpelletier/python-libusb1 comment "python-libusb1 needs a toolchain w/ threads, gcc >= 4.9" + depends on BR2_PACKAGE_PYTHON3 depends on !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9