summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/SConscript3
-rw-r--r--src/gallium/drivers/r600/SConscript2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/SConscript b/src/gallium/drivers/r300/SConscript
index e6a05db64f1..7ff073205f6 100644
--- a/src/gallium/drivers/r300/SConscript
+++ b/src/gallium/drivers/r300/SConscript
@@ -1,6 +1,9 @@
Import('*')
env = env.Clone()
+
+env.PkgUseModules('DRM_RADEON')
+
env.Append(CPPPATH = [
'#/include',
'#/src/mesa',
diff --git a/src/gallium/drivers/r600/SConscript b/src/gallium/drivers/r600/SConscript
index e400c38b46e..658be500dc1 100644
--- a/src/gallium/drivers/r600/SConscript
+++ b/src/gallium/drivers/r600/SConscript
@@ -2,6 +2,8 @@ Import('*')
env = env.Clone()
+env.PkgUseModules('DRM_RADEON')
+
env.Append(CPPPATH = [
'#/include',
])