summaryrefslogtreecommitdiff
path: root/src/egl/drivers/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-07-13 18:04:49 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-07-13 18:05:20 +0200
commite59086ab91281cafcae094164bf4d8454df337ae (patch)
treede8a71def128d68aac2d7ef2ce621235f90d29ca /src/egl/drivers/Makefile
parent930a863c4f6f11d0fd5cf396ef76054d52c69b9f (diff)
EGL: Only build EGL dri based drivers under linux-dri based configs
Diffstat (limited to 'src/egl/drivers/Makefile')
-rw-r--r--src/egl/drivers/Makefile21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/egl/drivers/Makefile b/src/egl/drivers/Makefile
index 6ce0e6b66d..f0538f563f 100644
--- a/src/egl/drivers/Makefile
+++ b/src/egl/drivers/Makefile
@@ -3,27 +3,10 @@
TOP = ../../..
include $(TOP)/configs/current
+SUBDIRS = $(EGL_DRIVERS_DIRS)
-SUBDIRS = demo dri xdri
-
-
-default: dri_subdirs
-
-
-# (UNUSED) depending on $DRIVER_DIRS...
-conditional_subdirs:
- @if [ "${DRIVER_DIRS}" = "dri" ] ; then \
- $(MAKE) dri_subdirs ; \
- fi
-
-
-dri_subdirs:
- @ (cd dri ; $(MAKE)) || exit 1
- @ (cd xdri ; $(MAKE)) || exit 1
-
-demo_subdir:
- @ (cd demo ; $(MAKE)) || exit 1
+default: subdirs
subdirs: