Config.in 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. menuconfig BR2_PACKAGE_MESA3D
  2. bool "mesa3d"
  3. depends on BR2_INSTALL_LIBSTDCPP
  4. depends on !BR2_STATIC_LIBS
  5. depends on BR2_TOOLCHAIN_HAS_SYNC_1
  6. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  7. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8
  8. select BR2_PACKAGE_EXPAT
  9. select BR2_PACKAGE_LIBDRM
  10. select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
  11. select BR2_PACKAGE_ZLIB
  12. help
  13. Mesa 3D, an open-source implementation of the OpenGL
  14. specification.
  15. http://mesa3d.org
  16. if BR2_PACKAGE_MESA3D
  17. # Some Gallium driver needs libelf when built with LLVM support
  18. config BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS
  19. bool
  20. config BR2_PACKAGE_MESA3D_LLVM
  21. bool "llvm support"
  22. depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
  23. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
  24. depends on BR2_TOOLCHAIN_HAS_THREADS
  25. depends on BR2_INSTALL_LIBSTDCPP
  26. depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
  27. depends on !BR2_STATIC_LIBS
  28. depends on BR2_USE_WCHAR # std::wstring
  29. depends on BR2_HOST_GCC_AT_LEAST_7 # host-llvm
  30. select BR2_PACKAGE_LLVM
  31. comment "llvm support needs a toolchain w/ wchar, threads, C++, gcc >= 7, dynamic library, host gcc >= 7"
  32. depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
  33. depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
  34. !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \
  35. || BR2_STATIC_LIBS || !BR2_USE_WCHAR \
  36. || !BR2_HOST_GCC_AT_LEAST_7
  37. comment "llvm support needs a toolchain not affected by GCC bug 64735"
  38. depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
  39. depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
  40. # clang and libclc dependencies are satisfied by
  41. # BR2_PACKAGE_MESA3D_LLVM
  42. config BR2_PACKAGE_MESA3D_OPENCL
  43. bool "OpenCL support"
  44. depends on BR2_PACKAGE_MESA3D_LLVM
  45. depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 || \
  46. BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
  47. select BR2_PACKAGE_LLVM_RTTI
  48. select BR2_PACKAGE_CLANG
  49. select BR2_PACKAGE_LIBCLC
  50. select BR2_PACKAGE_HAS_LIBOPENCL
  51. # inform the .mk file of gallium or vulkan driver selection
  52. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  53. bool
  54. select BR2_PACKAGE_MESA3D_DRIVER
  55. config BR2_PACKAGE_MESA3D_VULKAN_DRIVER
  56. bool
  57. select BR2_PACKAGE_MESA3D_DRIVER
  58. config BR2_PACKAGE_MESA3D_DRIVER
  59. bool
  60. select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XORG7
  61. # Gallium xa state tracker.
  62. # Quote from mesa3d meson.build: "XA state tracker requires at least
  63. # one of the following gallium drivers: nouveau, freedreno, i915, svga.
  64. config BR2_PACKAGE_MESA3D_NEEDS_XA
  65. bool
  66. # OpenGL GLX and Gallium VDPAU both needs X11
  67. config BR2_PACKAGE_MESA3D_NEEDS_X11
  68. bool
  69. depends on BR2_PACKAGE_XORG7
  70. select BR2_PACKAGE_LIBXCB
  71. select BR2_PACKAGE_XLIB_LIBX11
  72. select BR2_PACKAGE_XLIB_LIBXDAMAGE
  73. select BR2_PACKAGE_XLIB_LIBXEXT
  74. select BR2_PACKAGE_XLIB_LIBXFIXES
  75. select BR2_PACKAGE_XLIB_LIBXRANDR
  76. select BR2_PACKAGE_XLIB_LIBXXF86VM
  77. select BR2_PACKAGE_XORGPROTO
  78. comment "Gallium drivers"
  79. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_CROCUS
  80. bool "Gallium crocus driver"
  81. depends on BR2_i386 || BR2_x86_64
  82. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  83. help
  84. Mesa driver for gen4-7 Intel GPUs.
  85. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV
  86. bool "Gallium Etnaviv driver"
  87. depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence
  88. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  89. select BR2_PACKAGE_LIBDRM_ETNAVIV
  90. help
  91. Mesa driver for Vivante GPUs.
  92. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
  93. bool "Gallium freedreno driver"
  94. depends on BR2_arm || BR2_aarch64 || BR2_aarch64_be # libdrm-freedreno
  95. # libdrm's freedreno option depends on LIBDRM_HAS_ATOMIC. Propagating
  96. # that dependency here causes a circular dependency that Kconfig
  97. # can't see is just spurious. However, that dependency is about
  98. # the toolchain having sync4 primitives, which is always a given
  99. # for arm/aarch64.
  100. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  101. select BR2_PACKAGE_LIBDRM_FREEDRENO
  102. help
  103. Mesa driver for Freedreno GPUs.
  104. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915
  105. bool "Gallium i915 driver"
  106. depends on BR2_i386 || BR2_x86_64
  107. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  108. select BR2_PACKAGE_LIBDRM_INTEL
  109. help
  110. Support for i915-based Intel GPUs.
  111. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS
  112. bool "Gallium iris driver"
  113. depends on BR2_i386 || BR2_x86_64
  114. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  115. help
  116. Mesa driver for iris-based Intel GPUs.
  117. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA
  118. bool "Gallium lima driver"
  119. depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence
  120. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  121. help
  122. Mesa driver for ARM Mali Utgard GPUs.
  123. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO
  124. bool "Gallium kmsro drivers"
  125. depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV \
  126. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO \
  127. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA \
  128. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST \
  129. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D \
  130. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
  131. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  132. help
  133. Mesa drivers for kernel mode-setting render-only devices
  134. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
  135. bool "Gallium nouveau driver"
  136. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  137. select BR2_PACKAGE_LIBDRM_NOUVEAU
  138. select BR2_PACKAGE_MESA3D_NEEDS_XA
  139. select BR2_PACKAGE_LLVM_RTTI if BR2_PACKAGE_MESA3D_LLVM
  140. help
  141. Supports all Nvidia GPUs.
  142. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST
  143. bool "Gallium panfrost driver"
  144. depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence
  145. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  146. help
  147. Mesa driver for ARM Mali Midgard and Bifrost GPUs.
  148. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300
  149. bool "Gallium Radeon R300 driver"
  150. depends on BR2_i386 || BR2_x86_64
  151. # lbdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating
  152. # that dependency here causes a circular dependency that Kconfig
  153. # can't see is just spurious. However, that dependency is about
  154. # the toolchain having sync4 primitives, which is always a given
  155. # for x86.
  156. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  157. select BR2_PACKAGE_LIBDRM_RADEON
  158. help
  159. Driver for ATI/AMD Radeon R300/R400/R500 GPUs.
  160. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
  161. bool "Gallium Radeon R600 driver"
  162. depends on BR2_i386 || BR2_x86_64
  163. depends on !BR2_PACKAGE_MESA3D_LLVM || \
  164. (BR2_PACKAGE_MESA3D_LLVM && (BR2_TOOLCHAIN_USES_UCLIBC || \
  165. BR2_TOOLCHAIN_USES_GLIBC)) # elfutils
  166. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  167. select BR2_PACKAGE_LIBDRM_RADEON
  168. select BR2_PACKAGE_LLVM_AMDGPU if BR2_PACKAGE_MESA3D_LLVM
  169. select BR2_PACKAGE_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM
  170. select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM
  171. help
  172. Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs.
  173. # R600 needs libelf when Mesa3D is built with LLVM support
  174. # musl is not currently compatible with elfutils
  175. comment "R600 driver needs a uClibc or glibc toolchain when llvm is enabled"
  176. depends on BR2_PACKAGE_MESA3D_LLVM
  177. depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
  178. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
  179. bool "Gallium Radeon SI driver"
  180. depends on BR2_USE_MMU # libdrm
  181. depends on BR2_i386 || BR2_x86_64
  182. depends on BR2_PACKAGE_MESA3D_LLVM
  183. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  184. select BR2_PACKAGE_LIBDRM_AMDGPU
  185. select BR2_PACKAGE_LIBDRM_RADEON
  186. select BR2_PACKAGE_LLVM_AMDGPU
  187. select BR2_PACKAGE_ELFUTILS
  188. select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS
  189. help
  190. Driver for ATI/AMD Radeon HD7000/HD8000/Rx200 GPUs.
  191. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
  192. bool "Gallium vmware svga driver"
  193. depends on BR2_i386 || BR2_x86_64
  194. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  195. select BR2_PACKAGE_LIBDRM_VMWGFX
  196. select BR2_PACKAGE_MESA3D_NEEDS_XA
  197. help
  198. This is a virtual GPU driver for VMWare virtual machines.
  199. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
  200. bool "Gallium swrast driver"
  201. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  202. help
  203. This is a software opengl implementation using the Gallium3D
  204. infrastructure.
  205. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA
  206. bool "Gallium tegra driver"
  207. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  208. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
  209. select BR2_PACKAGE_LIBDRM_NOUVEAU
  210. select BR2_PACKAGE_MESA3D_NEEDS_XA
  211. help
  212. Adds support for Nvidia Tegra GPUs, requires nouveau.
  213. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D
  214. bool "Gallium v3d driver"
  215. depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64
  216. depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence
  217. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  218. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 # runtime
  219. select BR2_PACKAGE_MESA3D_OPENGL_EGL
  220. help
  221. Driver for Broadcom VC6 (rpi4) GPUs (needs vc4).
  222. It requires a kernel 4.18+ with DRM V3D support enabled:
  223. - CONFIG_DRM_V3D
  224. - CONFIG_DRM_VC4
  225. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
  226. bool "Gallium vc4 driver"
  227. depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64
  228. depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence
  229. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  230. select BR2_PACKAGE_LIBDRM_VC4
  231. select BR2_PACKAGE_MESA3D_OPENGL_EGL
  232. help
  233. Driver for Broadcom VC4 (rpi2/3) GPUs.
  234. It requires a vanilla 4.5+ kernel with drm vc4 (open) support.
  235. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL
  236. bool "Gallium virgl driver"
  237. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  238. select BR2_PACKAGE_MESA3D_OPENGL_EGL
  239. help
  240. virgl is the 3D acceleration backend for the virtio-gpu
  241. shipping with qemu.
  242. config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ZINK
  243. bool "Gallium zink driver"
  244. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  245. select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
  246. select BR2_PACKAGE_VULKAN_LOADER
  247. help
  248. Zink is a Gallium driver that emits Vulkan API calls,
  249. providing OpenGL support on devices that only support
  250. Vulkan.
  251. config BR2_PACKAGE_MESA3D_VDPAU
  252. bool "Gallium VDPAU state tracker"
  253. depends on BR2_PACKAGE_XORG7
  254. depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
  255. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \
  256. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
  257. select BR2_PACKAGE_MESA3D_NEEDS_X11
  258. select BR2_PACKAGE_LIBVDPAU
  259. help
  260. VDPAU state tracker (needs r300, r600, radeonsi or nouveau
  261. gallium drivers).
  262. comment "Gallium VDPAU state tracker needs X.org and gallium drivers r600, radeonsi or nouveau"
  263. depends on !BR2_PACKAGE_XORG7 || \
  264. !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
  265. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \
  266. || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI)
  267. comment "Vulkan drivers"
  268. config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM
  269. bool "Vulkan broadcom driver"
  270. depends on BR2_arm || BR2_aarch64
  271. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # dri3/libxshmfence
  272. select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
  273. help
  274. Vulkan broadcom driver.
  275. config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL
  276. bool "Vulkan Intel driver"
  277. depends on BR2_i386 || BR2_x86_64
  278. depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence
  279. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h
  280. depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert
  281. select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
  282. help
  283. Vulkan driver for Intel hardware from Ivy Bridge onward.
  284. comment "intel vulkan needs a glibc toolchain w/ headers >= 3.17"
  285. depends on BR2_i386 || BR2_x86_64
  286. depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7
  287. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || \
  288. !BR2_TOOLCHAIN_USES_GLIBC
  289. config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_SWRAST
  290. bool "Vulkan swrast driver"
  291. depends on BR2_PACKAGE_MESA3D_LLVM
  292. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
  293. select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
  294. help
  295. Vulkan swrast driver.
  296. comment "Off-screen Rendering"
  297. config BR2_PACKAGE_MESA3D_OSMESA_GALLIUM
  298. bool "OSMesa (Gallium) library"
  299. select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
  300. help
  301. The OSMesa API provides functions for off-screen rendering.
  302. if BR2_PACKAGE_MESA3D_DRIVER
  303. comment "OpenGL API Support"
  304. config BR2_PACKAGE_MESA3D_GBM
  305. bool "gbm"
  306. depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && \
  307. BR2_PACKAGE_MESA3D_OPENGL_EGL
  308. select BR2_PACKAGE_HAS_LIBGBM
  309. select BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
  310. select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
  311. help
  312. Enable Generic Buffer Management (gbm)
  313. comment "gbm support needs a gallium driver w/ EGL support."
  314. depends on !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL)
  315. config BR2_PACKAGE_MESA3D_OPENGL_GLX
  316. bool "OpenGL GLX"
  317. depends on BR2_PACKAGE_XORG7
  318. select BR2_PACKAGE_HAS_LIBGL if !BR2_PACKAGE_LIBGLVND
  319. select BR2_PACKAGE_LIBGLVND_DISPATCH_GL if BR2_PACKAGE_LIBGLVND
  320. select BR2_PACKAGE_MESA3D_NEEDS_X11
  321. help
  322. Enable GLX graphic acceleration (OpenGL + X11).
  323. comment "OpenGL GLX support needs X11"
  324. depends on !BR2_PACKAGE_XORG7
  325. config BR2_PACKAGE_MESA3D_OPENGL_EGL
  326. bool "OpenGL EGL"
  327. depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
  328. select BR2_PACKAGE_HAS_LIBEGL if !BR2_PACKAGE_LIBGLVND
  329. select BR2_PACKAGE_LIBGLVND_DISPATCH_EGL if BR2_PACKAGE_LIBGLVND
  330. select BR2_PACKAGE_MESA3D_GBM
  331. help
  332. Use the Khronos EGL APIs. EGL is a window manager for OpenGL
  333. applications similar to GLX, for X, and WGL, for Windows.
  334. config BR2_PACKAGE_MESA3D_OPENGL_ES
  335. bool "OpenGL ES"
  336. select BR2_PACKAGE_HAS_LIBGLES if !BR2_PACKAGE_LIBGLVND
  337. select BR2_PACKAGE_LIBGLVND_DISPATCH_GLES if BR2_PACKAGE_LIBGLVND
  338. help
  339. Use the Khronos OpenGL ES APIs. This is commonly used on
  340. embedded systems and represents a subset of the OpenGL API.
  341. endif # BR2_PACKAGE_MESA3D_DRIVER
  342. config BR2_PACKAGE_PROVIDES_LIBGBM
  343. default "mesa3d" if BR2_PACKAGE_MESA3D_GBM
  344. config BR2_PACKAGE_PROVIDES_LIBGL
  345. default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_GLX && !BR2_PACKAGE_LIBGLVND
  346. config BR2_PACKAGE_PROVIDES_LIBEGL
  347. default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_LIBGLVND
  348. config BR2_PACKAGE_PROVIDES_LIBGLES
  349. default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES && !BR2_PACKAGE_LIBGLVND
  350. config BR2_PACKAGE_PROVIDES_LIBOPENCL
  351. default "mesa3d" if BR2_PACKAGE_MESA3D_OPENCL
  352. endif # BR2_PACKAGE_MESA3D
  353. comment "mesa3d needs a toolchain w/ gcc >=8, C++, NPTL, dynamic library"
  354. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
  355. BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_8
  356. depends on BR2_TOOLCHAIN_HAS_SYNC_1