Config.in 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. comment "imx-gpu-viv needs a glibc toolchain"
  5. depends on BR2_aarch64
  6. depends on !BR2_TOOLCHAIN_USES_GLIBC
  7. config BR2_PACKAGE_IMX_GPU_VIV
  8. bool "imx-gpu-viv"
  9. # Pre-built binaries only available for ARM EABIhf
  10. depends on (BR2_arm && BR2_ARM_EABIHF) || BR2_aarch64
  11. # Library binaries are linked against libc.so.6
  12. depends on BR2_TOOLCHAIN_USES_GLIBC
  13. select BR2_PACKAGE_HAS_LIBEGL
  14. select BR2_PACKAGE_HAS_LIBGLES
  15. select BR2_PACKAGE_HAS_LIBOPENVG
  16. help
  17. Userspace libraries for Vivante GPU on i.MX platforms
  18. It contains libraries and headers for GLES, OpenCL, and
  19. OpenVG. It also contains a DRI plugin for X11. It also
  20. contains a plugin for DirectFB-1.4.0, but that doesn't work
  21. together with buildroot's DirectFB version.
  22. This library is provided by Freescale as-is and doesn't have
  23. an upstream.
  24. if BR2_PACKAGE_IMX_GPU_VIV
  25. choice
  26. prompt "Output option"
  27. help
  28. There are two versions of this library: one for
  29. direct framebuffer access, one for X11 rendering.
  30. Choose here which version to install.
  31. config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
  32. bool "X11"
  33. depends on BR2_PACKAGE_XORG7
  34. # The i.MX8 blob doesn't support X11 output
  35. depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
  36. select BR2_PACKAGE_XLIB_LIBXDAMAGE
  37. select BR2_PACKAGE_XLIB_LIBXEXT
  38. select BR2_PACKAGE_XLIB_LIBXFIXES
  39. comment "X11 backend needs Xorg package"
  40. depends on !BR2_PACKAGE_XORG7
  41. depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
  42. config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
  43. bool "Framebuffer"
  44. # The i.MX8 blob doesn't support FB output
  45. depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
  46. config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
  47. bool "Wayland"
  48. # libdrm needed by gbm_viv.so
  49. select BR2_PACKAGE_LIBDRM
  50. select BR2_PACKAGE_WAYLAND
  51. select BR2_PACKAGE_HAS_LIBEGL_WAYLAND
  52. endchoice
  53. config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT
  54. string
  55. default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
  56. default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
  57. default "wl" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
  58. config BR2_PACKAGE_PROVIDES_LIBEGL
  59. default "imx-gpu-viv"
  60. config BR2_PACKAGE_PROVIDES_LIBGLES
  61. default "imx-gpu-viv"
  62. config BR2_PACKAGE_PROVIDES_LIBOPENVG
  63. default "imx-gpu-viv"
  64. config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
  65. bool "install examples"
  66. help
  67. Copy the Vivante examples to the target.
  68. Warning: examples take approximately 150 MB of disk space.
  69. config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
  70. bool "install gmem_info tool"
  71. help
  72. Copy the gmem_info tool to the target which provides
  73. information about GPU memory consumption.
  74. endif