diff options
author | Jakob Bornecrantz <[email protected]> | 2010-03-26 14:19:48 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-03-26 14:48:35 +0100 |
commit | 711529153c797b4169fd5bbba79b370a2f38a0e9 (patch) | |
tree | 602acdc11ecf7551fcbd1a826d0b785441b9a881 /src/gallium/targets/dri-i965/SConscript | |
parent | fb70f456fce6b9cca9330e1c1e174153e532693e (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-i965/SConscript')
-rw-r--r-- | src/gallium/targets/dri-i965/SConscript | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gallium/targets/dri-i965/SConscript b/src/gallium/targets/dri-i965/SConscript index 3b37d8e1af4..eb9e6cd172a 100644 --- a/src/gallium/targets/dri-i965/SConscript +++ b/src/gallium/targets/dri-i965/SConscript @@ -8,16 +8,19 @@ env = drienv.Clone() env.ParseConfig('pkg-config --cflags --libs libdrm_intel') -drivers = [ +env.Prepend(LIBS = [ st_dri, i965drm, i965, trace, -] + mesa, + glsl, + gallium, + COMMON_DRI_DRM_OBJECTS +]) env.LoadableModule( - target ='i965_dri.so', - source = COMMON_GALLIUM_SOURCES, - LIBS = drivers + mesa + gallium + env['LIBS'], + target = 'i965_dri.so', + source = 'dummy.c', SHLIBPREFIX = '', ) |