Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. -bash-4.3# cat ./mesa-common/mesa.morph
  2. name: mesa
  3. kind: chunk
  4. build-system: autotools
  5. configure-commands:
  6. - |
  7. cpu=$(echo $TARGET | cut -d '-' -f 1)
  8. EXTRAARGS=--enable-gallium-egl
  9. case "$cpu" in
  10. x86_32|x64_64)
  11. DRIDRIVERS=intel,i915,i965,swrast
  12. GALLIUMDRIVERS=swrast
  13. EGLPLATFORMS=x11,wayland,drm
  14. ;;
  15. armv7lhf)
  16. DRIDRIVERS=nouveau,swrast
  17. GALLIUMDRIVERS=nouveau,swrast
  18. EXTRAARGS="--with-state-trackers=egl --enable-gallium-egl"
  19. EGLPLATFORMS=wayland,drm
  20. ;;
  21. *)
  22. DRIDRIVERS=swrast
  23. GALLIUMDRIVERS=swrast
  24. EGLPLATFORMS=x11,wayland,drm
  25. ;;
  26. esac
  27. ./autogen.sh --prefix="$PREFIX" \
  28. --enable-gles2 \
  29. --with-egl-platforms="$EGLPLATFORMS" \
  30. --enable-gbm \
  31. --enable-shared-glapi \
  32. --with-gallium-drivers="$GALLIUMDRIVERS" \
  33. --with-dri-drivers="$DRIDRIVERS" \
  34. --disable-dri3 $EXTRAARGS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement