Config.in 14 KB

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