summaryrefslogtreecommitdiff
path: root/strata/mesa-common/mesa.morph
blob: 733e1b1f7c0d4def869ace701f6d30564b83043d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"