From: Jammy Zhou <jammy.z...@amd.com> It is needed if the GL/ES build is disabled. Otherwise, there will be an error that nir_opcodes.h is missing. The motivation is to allow building Gallium VDPAU/OMX/VA without OpenGL.
For example: ./autogen.sh --enable-vdpau --disable-opengl --disable-gles1 \ -disable-gles2 --with-gallium-drivers=radeonsi --with-dri-drivers= \ --disable-egl --disable-xvmc --disable-dri Signed-off-by: Jammy Zhou <jammy.z...@amd.com> Acked-by: Michel Dänzer <michel.daen...@amd.com> Signed-off-by: Marek Olšák <marek.ol...@amd.com> --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 0d49bcd..081c392 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -44,6 +44,9 @@ SUBDIRS += egl endif if HAVE_GALLIUM +if !NEED_OPENGL_COMMON +SUBDIRS += glsl +endif SUBDIRS += gallium endif -- 2.1.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev