diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2014-09-15 14:06:56 +0000 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2014-09-15 14:06:56 +0000 |
commit | 2fabcf542369db5c3d77c0dfd194c2fe0e0cd4ea (patch) | |
tree | 6878f517a11c05a6a50887c9fe108cfc83870751 /strata/mesa-common | |
parent | cf770f5d4f6473fe127eb53d98daa3aca51d530b (diff) | |
download | definitions-2fabcf542369db5c3d77c0dfd194c2fe0e0cd4ea.tar.gz |
Bring systems up-to-scratch closer to what James and Sam had before
Diffstat (limited to 'strata/mesa-common')
-rw-r--r-- | strata/mesa-common/mesa.morph | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/strata/mesa-common/mesa.morph b/strata/mesa-common/mesa.morph index 733e1b1f..58e74f99 100644 --- a/strata/mesa-common/mesa.morph +++ b/strata/mesa-common/mesa.morph @@ -4,19 +4,30 @@ 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=x11,wayland,drm + ;; + armv7lhf) + DRIDRIVERS=nouveau,swrast + GALLIUMDRIVERS=nouveau,swrast + EXTRAARGS="--with-state-trackers=egl --enable-gallium-egl" + EGLPLATFORMS=wayland,drm ;; *) DRIDRIVERS=swrast + GALLIUMDRIVERS=swrast + EGLPLATFORMS=x11,wayland,drm ;; esac ./autogen.sh --prefix="$PREFIX" \ --enable-gles2 \ - --disable-gallium-egl \ - --with-egl-platforms=x11,drm,wayland \ + --with-egl-platforms="$EGLPLATFORMS" \ --enable-gbm \ --enable-shared-glapi \ - --with-gallium-drivers=swrast \ - --with-dri-drivers="$DRIDRIVERS" + --with-gallium-drivers="$GALLIUMDRIVERS" \ + --with-dri-drivers="$DRIDRIVERS" \ + --disable-dri3 $EXTRAARGS |