tce-load -i compiletc meson cmake libdrm-dev libva-dev wayland-dev wayland-protocols python3.6-mako libXvmc-dev libXdamage-dev libxshmfence-dev libXxf86vm-dev libXrandr-dev gettext libelf-dev https://mesa.freedesktop.org/archive/mesa-19.3.1.tar.xz cd mesa-19.3.1 mkdir build cd build CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DNDEBUG" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DNDEBUG" meson --prefix=/usr/local --buildtype=plain -Dvalgrind=false -Dgallium-drivers="vc4,v3d,kmsro,virgl,swrast" ../ [-fno-rtti ails] ninja [15m 15.11s] sudo ninja install Message: Configuration summary: prefix: /usr/local libdir: lib includedir: include OpenGL: yes (ES1: yes ES2: yes) OSMesa: no DRI platform: drm DRI drivers: no DRI driver dir: /usr/local/lib/dri GLX: DRI-based EGL: yes EGL drivers: builtin:egl_dri2 builtin:egl_dri3 GBM: yes EGL/Vulkan/VL platforms: x11 wayland drm surfaceless Vulkan drivers: no llvm: no Gallium drivers: vc4 v3d kmsro virgl swrast Gallium st: mesa HUD lmsensors: no Shared-glapi: yes