summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/sw/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/sw/SConscript')
-rw-r--r--src/gallium/drivers/sw/SConscript8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/drivers/sw/SConscript b/src/gallium/drivers/sw/SConscript
index cea237aa171..37d0a0d63ce 100644
--- a/src/gallium/drivers/sw/SConscript
+++ b/src/gallium/drivers/sw/SConscript
@@ -12,17 +12,13 @@
Import('*')
-if not set(('softpipe', 'llvmpipe', 'cell')).intersection(env['drivers']):
- print 'warning: no supported pipe driver: skipping build of sw meta-driver'
- Return()
-
env = env.Clone()
-if 'softpipe' in env['drivers']:
+if True:
env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
env.Prepend(LIBS = [softpipe])
-if 'llvmpipe' in env['drivers']:
+if env['llvm']:
env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
env.Tool('udis86')
env.Prepend(LIBS = [llvmpipe])