Config.in 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. comment "imx-gpu-viv needs a glibc toolchain with armhf enabled"
  2. depends on BR2_arm
  3. depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
  4. config BR2_PACKAGE_IMX_GPU_VIV
  5. bool "imx-gpu-viv"
  6. # Pre-built binaries only available for ARM EABIhf
  7. depends on BR2_ARM_EABIHF
  8. # Library binaries are linked against libc.so.6
  9. depends on BR2_TOOLCHAIN_USES_GLIBC
  10. select BR2_PACKAGE_HAS_LIBEGL
  11. select BR2_PACKAGE_HAS_LIBGLES
  12. select BR2_PACKAGE_HAS_LIBOPENVG
  13. help
  14. Userspace libraries for Vivante GPU on i.MX6 platforms
  15. It contains libraries and headers for GLES, OpenCL, and
  16. OpenVG. It also contains a DRI plugin for X11. It also
  17. contains a plugin for DirectFB-1.4.0, but that doesn't work
  18. together with buildroot's DirectFB version.
  19. This library is provided by Freescale as-is and doesn't have
  20. an upstream.
  21. if BR2_PACKAGE_IMX_GPU_VIV
  22. choice
  23. prompt "Output option"
  24. help
  25. There are two versions of this library: one for
  26. direct framebuffer access, one for X11 rendering.
  27. Choose here which version to install.
  28. config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
  29. bool "X11"
  30. depends on BR2_PACKAGE_XORG7
  31. select BR2_PACKAGE_XLIB_LIBXDAMAGE
  32. select BR2_PACKAGE_XLIB_LIBXEXT
  33. select BR2_PACKAGE_XLIB_LIBXFIXES
  34. comment "X11 backend needs Xorg package"
  35. depends on !BR2_PACKAGE_XORG7
  36. config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
  37. bool "Framebuffer"
  38. endchoice
  39. config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT
  40. string
  41. default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
  42. default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
  43. config BR2_PACKAGE_PROVIDES_LIBEGL
  44. default "imx-gpu-viv"
  45. config BR2_PACKAGE_PROVIDES_LIBGLES
  46. default "imx-gpu-viv"
  47. config BR2_PACKAGE_PROVIDES_LIBOPENVG
  48. default "imx-gpu-viv"
  49. config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
  50. bool "install examples"
  51. help
  52. Copy the Vivante examples to the target.
  53. Warning: examples take approximately 150 MB of disk space.
  54. config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
  55. bool "install gmem_info tool"
  56. help
  57. Copy the gmem_info tool to the target which provides
  58. information about GPU memory consumption.
  59. endif