summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/egl/drivers/dri/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/egl/drivers/dri/Makefile b/src/egl/drivers/dri/Makefile
index 6b50959a5a..86f189cd38 100644
--- a/src/egl/drivers/dri/Makefile
+++ b/src/egl/drivers/dri/Makefile
@@ -7,8 +7,8 @@ include $(TOP)/configs/current
### Include directories
INCLUDE_DIRS = \
-I. \
- -I$(DRM_SOURCE_PATH)/shared-core \
- -I$(DRM_SOURCE_PATH)/libdrm \
+ -I/usr/include \
+ -I/usr/include/drm \
-I$(TOP)/include \
-I$(TOP)/include/GL/internal \
-I$(TOP)/src/mesa \
@@ -25,10 +25,7 @@ INCLUDE_DIRS = \
HEADERS = egldri.h
-SOURCES = egldri.c \
- $(DRM_SOURCE_PATH)/libdrm/xf86drm.c \
- $(DRM_SOURCE_PATH)/libdrm/xf86drmHash.c \
- $(DRM_SOURCE_PATH)/libdrm/xf86drmRandom.c
+SOURCES = egldri.c
OBJECTS = $(SOURCES:.c=.o)