Config.in 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. comment "uhd needs a toolchain w/ C++, NPTL, wchar, dynamic library, gcc >= 5"
  2. depends on BR2_USE_MMU
  3. depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
  4. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  5. !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
  6. !BR2_TOOLCHAIN_GCC_AT_LEAST_5
  7. comment "uhd needs a toolchain not affected by GCC bug 64735"
  8. depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
  9. config BR2_PACKAGE_UHD
  10. bool "uhd"
  11. depends on BR2_INSTALL_LIBSTDCPP
  12. depends on !BR2_STATIC_LIBS
  13. depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic, boost-filesystem
  14. depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread
  15. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  16. depends on BR2_USE_MMU # use fork()
  17. depends on BR2_USE_WCHAR # boost
  18. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # boost-math
  19. select BR2_PACKAGE_BOOST
  20. select BR2_PACKAGE_BOOST_ATOMIC
  21. select BR2_PACKAGE_BOOST_CHRONO
  22. select BR2_PACKAGE_BOOST_DATE_TIME
  23. select BR2_PACKAGE_BOOST_FILESYSTEM
  24. select BR2_PACKAGE_BOOST_MATH
  25. select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
  26. select BR2_PACKAGE_BOOST_SERIALIZATION
  27. select BR2_PACKAGE_BOOST_SYSTEM
  28. select BR2_PACKAGE_BOOST_THREAD
  29. help
  30. Universal Software Radio Peripheral (USRP) Hardware Driver
  31. https://kb.etthus.com
  32. if BR2_PACKAGE_UHD
  33. config BR2_PACKAGE_UHD_B100
  34. bool "b100 support"
  35. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
  36. select BR2_PACKAGE_UHD_USB
  37. help
  38. enable B100 support
  39. comment "B100 support needs a toolchain w/ gcc >= 4.9"
  40. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  41. config BR2_PACKAGE_UHD_B200
  42. bool "b200 support"
  43. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
  44. select BR2_PACKAGE_UHD_USB
  45. help
  46. enable B200 support
  47. comment "B200 support needs a toolchain w/ gcc >= 4.9"
  48. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  49. config BR2_PACKAGE_UHD_E300
  50. bool "E300 support"
  51. select BR2_PACKAGE_UHD_MPMD
  52. help
  53. enable E300 support
  54. config BR2_PACKAGE_UHD_E320
  55. bool "E320 support"
  56. select BR2_PACKAGE_UHD_MPMD
  57. help
  58. enable E320 support
  59. config BR2_PACKAGE_UHD_EXAMPLES
  60. bool "uhd-examples"
  61. help
  62. Examples
  63. config BR2_PACKAGE_UHD_MPMD
  64. bool "MPMD support"
  65. help
  66. enable MPMD support
  67. config BR2_PACKAGE_UHD_N300
  68. bool "N300 support"
  69. select BR2_PACKAGE_UHD_MPMD
  70. help
  71. enable N300 support
  72. config BR2_PACKAGE_UHD_N320
  73. bool "N320 support"
  74. select BR2_PACKAGE_UHD_MPMD
  75. help
  76. enable N320 support
  77. config BR2_PACKAGE_UHD_OCTOCLOCK
  78. bool "OctoClock support"
  79. help
  80. enable OctoClock support
  81. comment "uhd python API needs python3 and a glibc or musl toolchain w/ gcc >= 9, host gcc >= 9"
  82. depends on !BR2_PACKAGE_PYTHON3
  83. depends on !BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
  84. depends on !BR2_HOST_GCC_AT_LEAST_9 || \
  85. !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
  86. !(BR2_TOOLCHAIN_USES_GLIBC && BR2_TOOLCHAIN_USES_MUSL) # python-numpy
  87. config BR2_PACKAGE_UHD_PYTHON
  88. bool "python API support"
  89. depends on BR2_PACKAGE_PYTHON3
  90. depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
  91. depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
  92. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
  93. depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
  94. select BR2_PACKAGE_PYTHON_NUMPY
  95. select BR2_PACKAGE_PYTHON_REQUESTS
  96. help
  97. enable python API support
  98. config BR2_PACKAGE_UHD_USB
  99. bool "USB support"
  100. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
  101. select BR2_PACKAGE_LIBUSB
  102. help
  103. enable UHD USB support
  104. comment "USB support needs a toolchain w/ gcc >= 4.9"
  105. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  106. config BR2_PACKAGE_UHD_USRP1
  107. bool "USRP1 support"
  108. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
  109. select BR2_PACKAGE_UHD_USB
  110. help
  111. enable USRP1 support
  112. comment "USRP1 support needs a toolchain w/ gcc >= 4.9"
  113. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  114. config BR2_PACKAGE_UHD_USRP2
  115. bool "USRP2 support"
  116. help
  117. enable USRP2 support
  118. comment "uhd utils depends on python API support"
  119. depends on !BR2_PACKAGE_UHD_PYTHON
  120. config BR2_PACKAGE_UHD_UTILS
  121. bool "uhd-utils"
  122. depends on BR2_PACKAGE_UHD_PYTHON
  123. select BR2_PACKAGE_PYTHON_SIX
  124. help
  125. uhd-utils
  126. config BR2_PACKAGE_UHD_X300
  127. bool "X300 support"
  128. help
  129. enable X300 support
  130. endif