From e0736b45a40321cb8b70ae5d4ff2d46b3dba41d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 28 Aug 2014 01:22:11 +0100 Subject: Build a unique mesa with wayland and x11 support --- strata/x-generic/mesa-x.morph | 21 --------------------- strata/x-generic/mesa.morph | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 strata/x-generic/mesa-x.morph create mode 100644 strata/x-generic/mesa.morph (limited to 'strata/x-generic') diff --git a/strata/x-generic/mesa-x.morph b/strata/x-generic/mesa-x.morph deleted file mode 100644 index a5a51500..00000000 --- a/strata/x-generic/mesa-x.morph +++ /dev/null @@ -1,21 +0,0 @@ -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 diff --git a/strata/x-generic/mesa.morph b/strata/x-generic/mesa.morph new file mode 100644 index 00000000..38078d12 --- /dev/null +++ b/strata/x-generic/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 -- cgit v1.2.1