2016-06-08 23:40:54 +02:00
|
|
|
comment "imx-gpu-viv needs a glibc toolchain with armhf enabled"
|
2013-11-07 09:24:37 +01:00
|
|
|
depends on BR2_arm
|
2016-06-10 20:09:08 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|
2013-05-26 14:08:28 +02:00
|
|
|
|
2018-06-12 17:02:19 +02:00
|
|
|
comment "imx-gpu-viv needs a glibc toolchain"
|
|
|
|
depends on BR2_aarch64
|
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV
|
|
|
|
bool "imx-gpu-viv"
|
2016-06-10 20:09:08 +02:00
|
|
|
# Pre-built binaries only available for ARM EABIhf
|
2018-06-12 17:02:19 +02:00
|
|
|
depends on (BR2_arm && BR2_ARM_EABIHF) || BR2_aarch64
|
2013-11-11 17:23:23 +01:00
|
|
|
# Library binaries are linked against libc.so.6
|
2013-06-30 21:29:09 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2017-04-22 19:17:53 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
select BR2_PACKAGE_HAS_LIBOPENVG
|
2013-05-26 14:08:28 +02:00
|
|
|
help
|
2018-05-16 17:51:59 +02:00
|
|
|
Userspace libraries for Vivante GPU on i.MX platforms
|
2013-05-26 14:08:28 +02:00
|
|
|
|
|
|
|
It contains libraries and headers for GLES, OpenCL, and
|
2015-04-23 00:14:34 +02:00
|
|
|
OpenVG. It also contains a DRI plugin for X11. It also
|
2013-05-26 14:08:28 +02:00
|
|
|
contains a plugin for DirectFB-1.4.0, but that doesn't work
|
|
|
|
together with buildroot's DirectFB version.
|
|
|
|
|
|
|
|
This library is provided by Freescale as-is and doesn't have
|
|
|
|
an upstream.
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
if BR2_PACKAGE_IMX_GPU_VIV
|
2013-05-26 14:08:28 +02:00
|
|
|
|
2015-04-30 17:12:18 +02:00
|
|
|
choice
|
|
|
|
prompt "Output option"
|
|
|
|
help
|
|
|
|
There are two versions of this library: one for
|
|
|
|
direct framebuffer access, one for X11 rendering.
|
|
|
|
Choose here which version to install.
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
2015-04-30 17:12:18 +02:00
|
|
|
bool "X11"
|
|
|
|
depends on BR2_PACKAGE_XORG7
|
2018-06-12 17:02:19 +02:00
|
|
|
# The i.MX8 blob doesn't support X11 output
|
|
|
|
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
2016-03-01 13:39:46 +01:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
2015-04-30 17:12:18 +02:00
|
|
|
|
|
|
|
comment "X11 backend needs Xorg package"
|
|
|
|
depends on !BR2_PACKAGE_XORG7
|
2018-06-12 17:02:19 +02:00
|
|
|
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
2015-04-30 17:12:18 +02:00
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
2015-04-30 17:12:18 +02:00
|
|
|
bool "Framebuffer"
|
2018-06-12 17:02:19 +02:00
|
|
|
# The i.MX8 blob doesn't support FB output
|
|
|
|
depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
2015-04-30 17:12:18 +02:00
|
|
|
|
2018-05-16 17:51:59 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
|
|
|
bool "Wayland"
|
|
|
|
# libdrm needed by gbm_viv.so
|
|
|
|
select BR2_PACKAGE_LIBDRM
|
|
|
|
select BR2_PACKAGE_WAYLAND
|
|
|
|
select BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
|
|
|
|
2015-04-30 17:12:18 +02:00
|
|
|
endchoice
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT
|
2015-04-30 17:12:21 +02:00
|
|
|
string
|
2015-05-26 10:19:37 +02:00
|
|
|
default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
|
|
|
default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
2018-05-16 17:51:59 +02:00
|
|
|
default "wl" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
2015-04-30 17:12:21 +02:00
|
|
|
|
2014-04-05 17:21:39 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
2015-05-26 10:19:37 +02:00
|
|
|
default "imx-gpu-viv"
|
2013-12-20 23:27:53 +01:00
|
|
|
|
2014-04-05 17:21:38 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
2015-05-26 10:19:37 +02:00
|
|
|
default "imx-gpu-viv"
|
2013-12-20 23:27:54 +01:00
|
|
|
|
2014-10-13 13:10:12 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBOPENVG
|
2015-05-26 10:19:37 +02:00
|
|
|
default "imx-gpu-viv"
|
2014-10-13 13:10:12 +02:00
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
|
2013-05-26 14:08:28 +02:00
|
|
|
bool "install examples"
|
|
|
|
help
|
|
|
|
Copy the Vivante examples to the target.
|
|
|
|
|
|
|
|
Warning: examples take approximately 150 MB of disk space.
|
|
|
|
|
2015-09-21 15:45:16 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
|
|
|
|
bool "install gmem_info tool"
|
|
|
|
help
|
|
|
|
Copy the gmem_info tool to the target which provides
|
|
|
|
information about GPU memory consumption.
|
|
|
|
|
2013-05-26 14:08:28 +02:00
|
|
|
endif
|