From 2b10a9677817377618e33d2b07ab7caefe316633 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 18 Aug 2014 17:05:22 +0000 Subject: Re-organise definitions with scripts/organise-morphologies.py --- strata/x-generic/mesa-x.morph | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 strata/x-generic/mesa-x.morph (limited to 'strata/x-generic/mesa-x.morph') diff --git a/strata/x-generic/mesa-x.morph b/strata/x-generic/mesa-x.morph new file mode 100644 index 00000000..a5a51500 --- /dev/null +++ b/strata/x-generic/mesa-x.morph @@ -0,0 +1,21 @@ +name: mesa-x +kind: chunk +build-system: autotools +configure-commands: +- | + cpu=$(echo $TARGET | cut -d '-' -f 1) + case "$cpu" in + x86_32|x64_64) + DRIDRIVERS=intel,i915,i965,swrast + ;; + *) + DRIDRIVERS=swrast + ;; + esac + ./autogen.sh --prefix="$PREFIX" \ + --enable-gles2 \ + --disable-gallium-egl \ + --with-egl-platforms=x11,drm \ + --enable-gbm --enable-shared-glapi \ + --with-gallium-drivers=swrast \ + --with-dri-drivers=$DRIDRIVERS -- cgit v1.2.1