[Buildroot] [git commit] imx-usb-loader: propagate libusb dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Jun 6 20:12:20 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=aef29acd148c3e0ce50d05f62ae5a44304404c9b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Avoid select of libusb when the toolchain does not support threads.
Fixes:
http://autobuild.buildroot.net/results/a21/a212ee3e5ec174f4e6e7d582f777325dac035bfd/
Cc: Adam Duskett <aduskett at gmail.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/imx-usb-loader/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/imx-usb-loader/Config.in b/package/imx-usb-loader/Config.in
index 6f083f34d1..1cc0dd8c25 100644
--- a/package/imx-usb-loader/Config.in
+++ b/package/imx-usb-loader/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_IMX_USB_LOADER
bool "imx-usb-loader"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
help
This package contains tools to download and execute code
@@ -7,3 +8,6 @@ config BR2_PACKAGE_IMX_USB_LOADER
Serial Download Protocol.
https://github.com/boundarydevices/imx_usb_loader
+
+comment "imx-usb-loader needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
More information about the buildroot
mailing list