summaryrefslogtreecommitdiffstats
path: root/src/gallium/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/SConscript')
-rw-r--r--src/gallium/SConscript11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gallium/SConscript b/src/gallium/SConscript
index a08b4b830e1..fa4833cbcf6 100644
--- a/src/gallium/SConscript
+++ b/src/gallium/SConscript
@@ -1,3 +1,5 @@
+import os
+
Import('*')
env = env.Clone()
@@ -20,10 +22,5 @@ SConscript([
if llvm:
SConscript(['auxiliary/gallivm/SConscript'])
-SConscript([
- 'drivers/softpipe/SConscript',
- 'drivers/i915simple/SConscript',
- 'drivers/i965simple/SConscript',
- 'drivers/failover/SConscript',
- #'drivers/cell/SConscript',
-])
+for driver in env['drivers']:
+ SConscript(os.path.join('drivers', driver, 'SConscript'))