381616e77a
Currently, when we need to do a conditional on the type of C library used, we need to take into account the three toolchain backends. As we are going to add eglibc support to the Buildroot toolchain backend, it would become even uglier, so this patch introduces two new hidden options: BR2_TOOLCHAIN_USES_UCLIBC and BR2_TOOLCHAIN_USES_GLIBC, that exist regardless of the toolchain backend. The entire Buildroot code base is converted to use those options. Note that we have intentionally created only one option (BR2_TOOLCHAIN_USES_GLIBC) for both glibc and eglibc, since they are essentially the same, as far as Buildroot is concerned. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
32 lines
954 B
Plaintext
32 lines
954 B
Plaintext
comment "gpu-viv-bin-mx6q requires a glibc toolchain"
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
config BR2_PACKAGE_GPU_VIV_BIN_MX6Q
|
|
bool "gpu-viv-bin-mx6q"
|
|
select BR2_PACKAGE_HAS_OPENGL_EGL
|
|
select BR2_PACKAGE_HAS_OPENGL_ES
|
|
depends on BR2_arm # Only relevant for i.MX6
|
|
# Library binaries are linked against libc.so.6
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
help
|
|
Userspace libraries for Vivante GPU on i.MX6 platforms
|
|
|
|
It contains libraries and headers for GLES, OpenCL, and
|
|
OpenVG. It also contains a DRI plugin for X11. It also
|
|
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.
|
|
|
|
if BR2_PACKAGE_GPU_VIV_BIN_MX6Q
|
|
|
|
config BR2_PACKAGE_GPU_VIV_BIN_MX6Q_EXAMPLES
|
|
bool "install examples"
|
|
help
|
|
Copy the Vivante examples to the target.
|
|
|
|
Warning: examples take approximately 150 MB of disk space.
|
|
|
|
endif
|