[Mesa-dev] [PATCH 21/25] automake: tweak SUBDIR reorder and comment it
Emil Velikov
emil.l.velikov at gmail.com
Thu Apr 21 13:16:21 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
It should ease people with all the interaction and platforms and how
they interact (at least from a build POV) with each other.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Should mention anv as well ?
-Emil
src/Makefile.am | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index dcc5d30..3a8a2ee 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,14 +34,21 @@ if HAVE_DRI_GLX
SUBDIRS += glx
endif
+## Optionally required by GBM and EGL
if HAVE_PLATFORM_WAYLAND
-SUBDIRS += egl/wayland/wayland-egl egl/wayland/wayland-drm
+SUBDIRS += egl/wayland/wayland-drm
endif
+## Optionally required by EGL (aka PLATFORM_GBM)
if HAVE_GBM
SUBDIRS += gbm
endif
+## Optionally required by EGL
+if HAVE_PLATFORM_WAYLAND
+SUBDIRS += egl/wayland/wayland-egl
+endif
+
if HAVE_EGL
SUBDIRS += egl
endif
--
2.8.0
More information about the mesa-dev
mailing list