summaryrefslogtreecommitdiffstats
path: root/src/egl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/Makefile')
-rw-r--r--src/egl/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/egl/Makefile b/src/egl/Makefile
index 5b09e178c63..361f6889580 100644
--- a/src/egl/Makefile
+++ b/src/egl/Makefile
@@ -3,8 +3,13 @@
TOP = ../..
include $(TOP)/configs/current
-SUBDIRS = main drivers
+SUBDIRS =
+ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
+SUBDIRS += wayland
+endif
+
+SUBDIRS += drivers main
default: subdirs