summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-10 15:11:01 -0600
committerBrian Paul <[email protected]>2008-07-11 15:45:03 -0600
commit7986baf7cf5434c0ff8210eedd0be366ab5e8f14 (patch)
treeb49a087674e941251d7bce13024404e30bdd48d0
parent6e938e4f82755c20472532907cc47c2d501aaee2 (diff)
build egl subdirs
-rw-r--r--configs/linux-dri12
-rw-r--r--src/egl/drivers/Makefile4
2 files changed, 3 insertions, 13 deletions
diff --git a/configs/linux-dri b/configs/linux-dri
index 9fd37212656..380cd3812ff 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -46,18 +46,8 @@ GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
$(LIBDRM_LIB)
-# This is now 0 by default since it seems to confuse the hell out of people
-# and generate a lot of extra noise on bugzilla. If you need to build with
-# EGL, do 'make linux-dri USING_EGL=1'
-
-USING_EGL=0
-
# Directories
-SRC_DIRS := glx/x11 $(SRC_DIRS)
-ifeq ($(USING_EGL), 1)
-SRC_DIRS := egl $(SRC_DIRS)
-PROGRAM_DIRS = egl
-endif
+SRC_DIRS := glx/x11 egl $(SRC_DIRS)
diff --git a/src/egl/drivers/Makefile b/src/egl/drivers/Makefile
index a2d67ca5a8a..6ce0e6b66d1 100644
--- a/src/egl/drivers/Makefile
+++ b/src/egl/drivers/Makefile
@@ -7,10 +7,10 @@ include $(TOP)/configs/current
SUBDIRS = demo dri xdri
-default: conditional_subdirs
+default: dri_subdirs
-# depending on $DRIVER_DIRS...
+# (UNUSED) depending on $DRIVER_DIRS...
conditional_subdirs:
@if [ "${DRIVER_DIRS}" = "dri" ] ; then \
$(MAKE) dri_subdirs ; \