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