X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage4%2Fpkg%2FMesaLib;h=95e4634f4cd37d6790fe2894b3212f9b8827d95d;hb=7537c1f2f4728f09caee2c99f91c31ac426ed132;hp=45e210ba7b544ed576fd21cdee73f4e850949a6a;hpb=ce815aec9d5bd5a16a5fd769419e449976669aaa;p=hvlinux.git diff --git a/stage4/pkg/MesaLib b/stage4/pkg/MesaLib index 45e210b..95e4634 100644 --- a/stage4/pkg/MesaLib +++ b/stage4/pkg/MesaLib @@ -2,24 +2,32 @@ 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) - DRVPTS="--with-dri-drivers=nouveau --enable-gallium-nouveau" + DRI_OPTS+=",nouveau" + GAL_OPTS+=",nouveau" ;; intel) - DRVPTS="--with-dri-drivers=i915,i965 --enable-gallium-i915 --enable-gallium-i965" + DRI_OPTS+=",i915,i965" + GAL_OPTS+=",i915" ;; esac fi - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ - --enable-motif \ - --enable-xcb \ - ${DRVPTS} \ + CONFIGURE_OPTS+=" \ + --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