summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/Android.mk4
-rw-r--r--src/gallium/drivers/r600/Makefile3
-rw-r--r--src/gallium/drivers/r600/SConscript3
3 files changed, 2 insertions, 8 deletions
diff --git a/src/gallium/drivers/r600/Android.mk b/src/gallium/drivers/r600/Android.mk
index 994ae07789c..f060920d5d7 100644
--- a/src/gallium/drivers/r600/Android.mk
+++ b/src/gallium/drivers/r600/Android.mk
@@ -32,9 +32,7 @@ LOCAL_SRC_FILES := $(C_SOURCES)
LOCAL_CFLAGS := -std=c99
-LOCAL_C_INCLUDES := \
- $(DRM_TOP) \
- $(DRM_TOP)/include/drm
+LOCAL_C_INCLUDES :=
LOCAL_MODULE := libmesa_pipe_r600
diff --git a/src/gallium/drivers/r600/Makefile b/src/gallium/drivers/r600/Makefile
index 0e68fe99345..80f8cbfc803 100644
--- a/src/gallium/drivers/r600/Makefile
+++ b/src/gallium/drivers/r600/Makefile
@@ -3,8 +3,7 @@ include $(TOP)/configs/current
LIBNAME = r600
-LIBRARY_INCLUDES = \
- $(shell pkg-config libdrm --cflags-only-I)
+LIBRARY_INCLUDES = -I$(TOP)/include
# get C_SOURCES
include Makefile.sources
diff --git a/src/gallium/drivers/r600/SConscript b/src/gallium/drivers/r600/SConscript
index be12255e4d0..e400c38b46e 100644
--- a/src/gallium/drivers/r600/SConscript
+++ b/src/gallium/drivers/r600/SConscript
@@ -2,11 +2,8 @@ Import('*')
env = env.Clone()
-env.PkgUseModules('DRM_RADEON')
-
env.Append(CPPPATH = [
'#/include',
- '#/src/mesa',
])
r600 = env.ConvenienceLibrary(