projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to MesaLib-10.3.5
[hvlinux.git]
/
stage4
/
pkg
/
MesaLib
diff --git
a/stage4/pkg/MesaLib
b/stage4/pkg/MesaLib
index
45e210b
..
de43784
100644
(file)
--- a/
stage4/pkg/MesaLib
+++ b/
stage4/pkg/MesaLib
@@
-2,31
+2,35
@@
hvconfig_pre()
{
hvconfig_pre()
{
- local
DRVPTS="
"
+ local
GAL_OPTS="--with-gallium-drivers=svga,swrast
"
if [ -n "${XORG_VIDEO_DRIVER}" ]; then
case "${XORG_VIDEO_DRIVER}" in
nouveau)
if [ -n "${XORG_VIDEO_DRIVER}" ]; then
case "${XORG_VIDEO_DRIVER}" in
nouveau)
-
DRVPTS="--with-dri-drivers=nouveau --enable-gallium-
nouveau"
+
GAL_OPTS+=",
nouveau"
;;
intel)
;;
intel)
-
DRVPTS="--with-dri-drivers=i915,i965 --enable-gallium-i915 --enable-gallium-i96
5"
+
GAL_OPTS+=",i91
5"
;;
esac
fi
;;
esac
fi
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --enable-motif \
- --enable-xcb \
- ${DRVPTS} \
+ CONFIGURE_OPTS+=" \
+ --enable-texture-float \
+ --enable-gles1 \
+ --enable-gles2 \
+ --enable-openvg \
+ --enable-osmesa \
+ --enable-xa \
+ --enable-gbm \
+ --enable-gallium-egl \
+ --enable-gallium-gbm \
+ --enable-glx-tls \
+ --with-egl-platforms="drm,x11" \
+ ${GAL_OPTS} \
${XORG_CONFIG}"
# Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS
# and CXXFLAGS with this command:
sed 's@FLAGS=\"-g@FLAGS=\"@' -i ${LFS_TMP}/${PACKAGE}/configure
${XORG_CONFIG}"
# Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS
# and CXXFLAGS with this command:
sed 's@FLAGS=\"-g@FLAGS=\"@' -i ${LFS_TMP}/${PACKAGE}/configure
-
- # Revert effect of automatically applying blfs patch for xdemos (this patch
- # causes a compilation bug with a missing GL/gl.h include)
- sed 's@^\(SUBDIRS = src\) xdemos@\1@' -i ${LFS_TMP}/${PACKAGE}/Makefile
}
}