mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Mesa: build with EGL and GBM support, enable GLX TLS support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
bb5b7d2f77
commit
104dc3b637
@ -78,7 +78,6 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
|
||||
--enable-asm \
|
||||
--disable-selinux \
|
||||
--enable-opengl \
|
||||
--enable-glx-tls \
|
||||
--enable-driglx-direct \
|
||||
--disable-gles1 \
|
||||
--disable-gles2 \
|
||||
@ -87,10 +86,10 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
|
||||
--disable-dri3 \
|
||||
--enable-glx \
|
||||
--disable-osmesa \
|
||||
--disable-egl \
|
||||
--enable-egl --with-egl-platforms=x11,drm \
|
||||
--disable-xorg \
|
||||
$XA_CONFIG \
|
||||
--disable-gbm \
|
||||
--enable-gbm \
|
||||
--disable-xvmc \
|
||||
$MESA_VDPAU \
|
||||
--disable-opencl \
|
||||
@ -100,7 +99,7 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
|
||||
--disable-r600-llvm-compiler \
|
||||
--disable-gallium-tests \
|
||||
--enable-shared-glapi \
|
||||
--disable-glx-tls \
|
||||
--enable-glx-tls \
|
||||
--disable-gallium-g3dvl \
|
||||
$MESA_GALLIUM_LLVM \
|
||||
--disable-silent-rules \
|
||||
@ -110,6 +109,12 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
|
||||
--with-dri-drivers=$DRI_DRIVERS \
|
||||
--with-expat=$SYSROOT_PREFIX/usr"
|
||||
|
||||
|
||||
pre_configure_target() {
|
||||
# Mesa fails to build with GOLD if we build with --enable-glx-tls
|
||||
strip_gold
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
# rename and relink for cooperate with nvidia drivers
|
||||
rm -rf $INSTALL/usr/lib/libGL.so
|
||||
|
Loading…
x
Reference in New Issue
Block a user