Mesa: build with EGL and GBM support, enable GLX TLS support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-11-20 01:40:13 +01:00
parent bb5b7d2f77
commit 104dc3b637

View File

@ -78,7 +78,6 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
--enable-asm \ --enable-asm \
--disable-selinux \ --disable-selinux \
--enable-opengl \ --enable-opengl \
--enable-glx-tls \
--enable-driglx-direct \ --enable-driglx-direct \
--disable-gles1 \ --disable-gles1 \
--disable-gles2 \ --disable-gles2 \
@ -87,10 +86,10 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
--disable-dri3 \ --disable-dri3 \
--enable-glx \ --enable-glx \
--disable-osmesa \ --disable-osmesa \
--disable-egl \ --enable-egl --with-egl-platforms=x11,drm \
--disable-xorg \ --disable-xorg \
$XA_CONFIG \ $XA_CONFIG \
--disable-gbm \ --enable-gbm \
--disable-xvmc \ --disable-xvmc \
$MESA_VDPAU \ $MESA_VDPAU \
--disable-opencl \ --disable-opencl \
@ -100,7 +99,7 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
--disable-r600-llvm-compiler \ --disable-r600-llvm-compiler \
--disable-gallium-tests \ --disable-gallium-tests \
--enable-shared-glapi \ --enable-shared-glapi \
--disable-glx-tls \ --enable-glx-tls \
--disable-gallium-g3dvl \ --disable-gallium-g3dvl \
$MESA_GALLIUM_LLVM \ $MESA_GALLIUM_LLVM \
--disable-silent-rules \ --disable-silent-rules \
@ -110,6 +109,12 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
--with-dri-drivers=$DRI_DRIVERS \ --with-dri-drivers=$DRI_DRIVERS \
--with-expat=$SYSROOT_PREFIX/usr" --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() { post_makeinstall_target() {
# rename and relink for cooperate with nvidia drivers # rename and relink for cooperate with nvidia drivers
rm -rf $INSTALL/usr/lib/libGL.so rm -rf $INSTALL/usr/lib/libGL.so