summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-09-11 13:28:12 +0200
committerMarek Olšák <[email protected]>2011-09-12 22:03:02 +0200
commit85f5d7ceee526a272cb19c2c9d44d6e7aa5d422d (patch)
treed1b4905bbabe32a16800a15c1fe69be56ed7f970 /src/gallium
parentfb5995cf53000af3bd32ca6effb4b08c4aaffe17 (diff)
r600g: cleanup build include dirs and dependencies
The scons build still depended on libdrm_radeon.
Diffstat (limited to 'src/gallium')
-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
-rw-r--r--src/gallium/winsys/r600/drm/Android.mk4
-rw-r--r--src/gallium/winsys/r600/drm/Makefile1
-rw-r--r--src/gallium/winsys/r600/drm/SConscript2
6 files changed, 3 insertions, 14 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(
diff --git a/src/gallium/winsys/r600/drm/Android.mk b/src/gallium/winsys/r600/drm/Android.mk
index eb79caa19ca..b1c0ab684bb 100644
--- a/src/gallium/winsys/r600/drm/Android.mk
+++ b/src/gallium/winsys/r600/drm/Android.mk
@@ -33,9 +33,7 @@ LOCAL_SRC_FILES := $(C_SOURCES)
LOCAL_CFLAGS := -std=c99
LOCAL_C_INCLUDES := \
- $(GALLIUM_TOP)/drivers/r600 \
- $(DRM_TOP) \
- $(DRM_TOP)/include/drm
+ $(GALLIUM_TOP)/drivers/r600
LOCAL_MODULE := libmesa_winsys_r600
diff --git a/src/gallium/winsys/r600/drm/Makefile b/src/gallium/winsys/r600/drm/Makefile
index c23286c8197..ccaab0b4170 100644
--- a/src/gallium/winsys/r600/drm/Makefile
+++ b/src/gallium/winsys/r600/drm/Makefile
@@ -9,7 +9,6 @@ include Makefile.sources
LIBRARY_INCLUDES = -I$(TOP)/src/gallium/drivers/r600 \
-I$(TOP)/include \
- $(shell pkg-config libdrm --cflags-only-I)
include ../../../Makefile.template
diff --git a/src/gallium/winsys/r600/drm/SConscript b/src/gallium/winsys/r600/drm/SConscript
index 2d0d80e8bb9..cbefd25e289 100644
--- a/src/gallium/winsys/r600/drm/SConscript
+++ b/src/gallium/winsys/r600/drm/SConscript
@@ -4,8 +4,6 @@ env = env.Clone()
r600_sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
-env.PkgUseModules('DRM_RADEON')
-
env.Append(CPPPATH = '#/src/gallium/drivers/r600')
r600winsys = env.ConvenienceLibrary(