summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2014-10-31 10:59:54 (GMT)
committerJavier Jardón <jjardon@gnome.org>2014-10-31 11:00:38 (GMT)
commite41fed5540f4989073c3c93303875661676d7ccf (patch)
treeb92e0181c3ba63ee365a9f23e2a813324b7147c6
parent76332a03de7c21c649d3c6c608b6ee9e8306fe8f (diff)
parentc4315f3ed22c35c5d474b050e30f0e48528cf432 (diff)
downloaddefinitions-e41fed5540f4989073c3c93303875661676d7ccf.tar.gz
Merge branch 'baserock/jjardon/mesa'
Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk> Reviewed-By: Richard Maw <richard.maw@codethink.co.uk>
-rw-r--r--strata/mesa-common/mesa.morph25
1 files changed, 7 insertions, 18 deletions
diff --git a/strata/mesa-common/mesa.morph b/strata/mesa-common/mesa.morph
index 00b4c9c..f946390 100644
--- a/strata/mesa-common/mesa.morph
+++ b/strata/mesa-common/mesa.morph
@@ -4,32 +4,21 @@ build-system: autotools
configure-commands:
- |
cpu=$(echo $TARGET | cut -d '-' -f 1)
- EXTRAARGS=--disable-gallium-egl
case "$cpu" in
- x86_32|x64_64)
- DRIDRIVERS=intel,i915,i965,swrast
- GALLIUMDRIVERS=swrast
- EGLPLATFORMS=wayland,drm
- ;;
armv7lhf)
- DRIDRIVERS=nouveau,swrast
- GALLIUMDRIVERS=nouveau,swrast
- EXTRAARGS="--with-state-trackers=egl --enable-gallium-egl"
- EGLPLATFORMS=wayland,drm
+ DRIDRIVERS=no
+ GALLIUMDRIVERS=nouveau,freedreno,svga,swrast,vc4
+ EXTRAARGS="--enable-gallium-egl"
;;
*)
- DRIDRIVERS=swrast
- GALLIUMDRIVERS=swrast
- EGLPLATFORMS=wayland,drm
+ DRIDRIVERS=yes
+ GALLIUMDRIVERS=yes
;;
esac
./autogen.sh --prefix="$PREFIX" \
--enable-gles2 \
- --with-egl-platforms="$EGLPLATFORMS" \
--disable-glx \
- --enable-gbm \
- --enable-shared-glapi \
+ --with-egl-platforms=drm,wayland \
--with-gallium-drivers="$GALLIUMDRIVERS" \
--with-dri-drivers="$DRIDRIVERS" \
- --disable-dri3 $EXTRAARGS
-
+ $EXTRAARGS