summaryrefslogtreecommitdiff
path: root/strata/mesa-common/mesa.morph
blob: 4194acc2e81e2343e6c8db47a3a6a9c3993c3151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: mesa
kind: chunk
build-system: autotools
configure-commands:
- |
  cpu=$(echo $TARGET | cut -d '-' -f 1)
  case "$cpu" in
  armv7lhf)
    DRIDRIVERS=no
    GALLIUMDRIVERS=nouveau,freedreno,svga,swrast,vc4
    ;;
  *)
    DRIDRIVERS=yes
    GALLIUMDRIVERS=yes
    ;;
  esac
  ./autogen.sh --prefix="$PREFIX" \
      --enable-gles2 \
      --disable-glx \
      --with-egl-platforms=drm,wayland \
      --with-gallium-drivers="$GALLIUMDRIVERS" \
      --with-dri-drivers="$DRIDRIVERS" \
      --enable-gallium-egl