blob: ec11097ce7638737a0b546412b15dc964706c437 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
PACKAGECONFIG_remove_mx5 = "egl gles"
PROVIDES_remove_mx5 = "virtual/libgles1 virtual/libgles2 virtual/egl"
PACKAGECONFIG_remove_mx6 = "egl gles"
# i.MX6SL uses mesa software rendering
PROVIDES_remove_mx6 = "virtual/libgles1 virtual/libgles2 virtual/egl"
PROVIDES_remove_mx6q = "virtual/libgl"
PROVIDES_remove_mx6dl = "virtual/libgl"
PROVIDES_remove_mx6sx = "virtual/libgl"
USE_VIV_LIBGL = "yes"
USE_VIV_LIBGL_mx6sl = "no"
# FIXME: Dirty hack to allow use of Vivante GPU libGL binary
do_install_append_mx6 () {
if [ "${USE_VIV_LIBGL}" = "yes" ]; then
rm -f ${D}${libdir}/libGL.*
fi
}
EXTRA_OECONF_mx6 := "${@'${EXTRA_OECONF}'.replace('--enable-glx-tls','--enable-glx')}"
|