package/uhd: USRP1 needs gcc >= 4.9

Commit c577eac16e 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>
(cherry picked from commit 0403dd7d76)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-05-22 18:29:24 +02:00 committed by Peter Korsgaard
parent daf1a5d80a
commit 947ee29bb0

View 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