package/usbutils: needs gcc >= 4.9
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 14 Jan 2021 06:56:08 +0000 (07:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 14 Jan 2021 20:59:59 +0000 (21:59 +0100)
Commit 8a26801c9fad1c7749200e22e9dfdeaeeb65f76e forgot to propagate the
gcc dependency from libusb to usbutils

Fixes:
 - http://autobuild.buildroot.org/results/ed8706a1ead398b5097b046524e710b1d3d0bb1e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/usbutils/Config.in

index 923853af045362e8e6db8798691f8da00530e851..a38eb2f2e50446334e326d47b9eedbe25023700c 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_USBUTILS
        bool "usbutils"
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
        depends on BR2_PACKAGE_HAS_UDEV # needs hwdb
        select BR2_PACKAGE_LIBUSB
        help
@@ -8,5 +9,7 @@ config BR2_PACKAGE_USBUTILS
 
          http://linux-usb.sourceforge.net/
 
-comment "usbutils needs udev /dev management and toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_HAS_UDEV
+comment "usbutils needs udev /dev management and toolchain w/ threads, gcc >= 4.9"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+               !BR2_PACKAGE_HAS_UDEV || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9