diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-08-18 17:05:22 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-08-18 17:05:22 +0000 |
commit | 2b10a9677817377618e33d2b07ab7caefe316633 (patch) | |
tree | 843ba74b9480f36da273cba79182e3c38b28881b /strata/x-generic/mesa-x.morph | |
parent | e424935744d9faf27327ee40987620412c41716f (diff) | |
download | definitions-2b10a9677817377618e33d2b07ab7caefe316633.tar.gz |
Re-organise definitions with scripts/organise-morphologies.pyGENIVI-I0.1baserock/release/GENIVI-I0.1
Diffstat (limited to 'strata/x-generic/mesa-x.morph')
-rw-r--r-- | strata/x-generic/mesa-x.morph | 21 |
1 files changed, 21 insertions, 0 deletions
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 |