summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-i915/SConscript
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-03-26 14:19:48 +0100
committerJakob Bornecrantz <[email protected]>2010-03-26 14:48:35 +0100
commit711529153c797b4169fd5bbba79b370a2f38a0e9 (patch)
tree602acdc11ecf7551fcbd1a826d0b785441b9a881 /src/gallium/targets/dri-i915/SConscript
parentfb70f456fce6b9cca9330e1c1e174153e532693e (diff)
gallium: Fix DRI driver build warnings under scons
When building more then one dri driver we would get warnings because we where defining the same build target multiple times. Also move all the dri scons targets related code into its own file.
Diffstat (limited to 'src/gallium/targets/dri-i915/SConscript')
-rw-r--r--src/gallium/targets/dri-i915/SConscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/targets/dri-i915/SConscript b/src/gallium/targets/dri-i915/SConscript
index f6d1f934783..2fcc8028f12 100644
--- a/src/gallium/targets/dri-i915/SConscript
+++ b/src/gallium/targets/dri-i915/SConscript
@@ -15,11 +15,12 @@ env.Prepend(LIBS = [
trace,
mesa,
glsl,
- gallium
+ gallium,
+ COMMON_DRI_DRM_OBJECTS
])
env.LoadableModule(
- target ='i915_dri.so',
- source = COMMON_GALLIUM_SOURCES,
+ target = 'i915_dri.so',
+ source = 'dummy.c',
SHLIBPREFIX = '',
)