projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout Mercurial
[hvlinux.git]
/
stage4
/
pkg
/
MesaLib
diff --git
a/stage4/pkg/MesaLib
b/stage4/pkg/MesaLib
index
45e210b
..
0fc244c
100644
(file)
--- a/
stage4/pkg/MesaLib
+++ b/
stage4/pkg/MesaLib
@@
-2,24
+2,33
@@
hvconfig_pre()
{
hvconfig_pre()
{
- local DRVPTS=""
+ local DRI_OPTS="--with-dri-drivers=swrast"
+ 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"
+ DRI_OPTS="${DRI_OPTS},nouveau"
+ GAL_OPTS="${GAL_OPTS},nouveau"
;;
intel)
;;
intel)
- DRVPTS="--with-dri-drivers=i915,i965 --enable-gallium-i915 --enable-gallium-i965"
+ DRI_OPTS="${DRI_OPTS},i915,i965"
+ GAL_OPTS="${GAL_OPTS},i915,i965"
;;
esac
fi
CONFIGURE_OPTS="\
${CONFIGURE_OPTS} \
;;
esac
fi
CONFIGURE_OPTS="\
${CONFIGURE_OPTS} \
- --enable-motif \
- --enable-xcb \
- ${DRVPTS} \
+ --enable-texture-float \
+ --enable-gles1 \
+ --enable-gles2 \
+ --enable-xa \
+ --enable-shared-glapi \
+ --enable-shared-dricore \
+ --enable-glx-tls \
+ ${DRI_OPTS} \
+ ${GAL_OPTS} \
${XORG_CONFIG}"
# Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS
${XORG_CONFIG}"
# Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS