package/uhd: USRP1 needs gcc >= 4.9
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 22 May 2021 16:29:24 +0000 (18:29 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 22 May 2021 16:58:29 +0000 (18:58 +0200)
Commit c577eac16eaae515973faf3013da197516bfd391 forgot to add
dependencies of BR2_PACKAGE_UHD_USB to BR2_PACKAGE_UHD_USRP1

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

Note: threads dependency is already guaranteed as uhd itself depends on
NPTL already.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/uhd/Config.in

index fae0887509022f3263d9010c2e2b74d342f46f18..f61bbf0e8faca21291e91b72c5abc0f94ee12b47 100644 (file)
@@ -129,10 +129,14 @@ comment "USB support needs a toolchain w/ gcc >= 4.9"
 
 config BR2_PACKAGE_UHD_USRP1
        bool "USRP1 support"
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
        select BR2_PACKAGE_UHD_USB
        help
          enable USRP1 support
 
+comment "USRP1 support needs a toolchain w/ gcc >= 4.9"
+       depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+
 config BR2_PACKAGE_UHD_USRP2
        bool "USRP2 support"
        help