diff options
author | Javier Jardón <jjardon@gnome.org> | 2014-08-28 01:22:15 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-08-28 11:46:22 +0100 |
commit | ae380fa19f904931f173089ee0e98a33a0e8b41f (patch) | |
tree | c75bd6a8198ff1af879c6c0ffda84b44c82573b0 /strata/mesa-common/mesa.morph | |
parent | 7bbdf1f098496546481db75fb37077776ee62aa8 (diff) | |
download | definitions-ae380fa19f904931f173089ee0e98a33a0e8b41f.tar.gz |
Do not build the same mesa in different strata, move to its own stratum
Diffstat (limited to 'strata/mesa-common/mesa.morph')
-rw-r--r-- | strata/mesa-common/mesa.morph | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/strata/mesa-common/mesa.morph b/strata/mesa-common/mesa.morph new file mode 100644 index 00000000..38078d12 --- /dev/null +++ b/strata/mesa-common/mesa.morph @@ -0,0 +1,21 @@ +name: mesa +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,wayland \ + --enable-gbm --enable-shared-glapi \ + --with-gallium-drivers=swrast \ + --with-dri-drivers=$DRIDRIVERS |