summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-i965/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri-i965/SConscript')
-rw-r--r--src/gallium/targets/dri-i965/SConscript9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallium/targets/dri-i965/SConscript b/src/gallium/targets/dri-i965/SConscript
index 13ac5a2d8ea..684e3488f71 100644
--- a/src/gallium/targets/dri-i965/SConscript
+++ b/src/gallium/targets/dri-i965/SConscript
@@ -8,10 +8,15 @@ env = drienv.Clone()
env.ParseConfig('pkg-config --cflags --libs libdrm_intel')
+env.Append(CPPDEFINES = [
+ 'GALLIUM_SOFTPIPE',
+ 'GALLIUM_RBUG',
+ 'GALLIUM_TRACE'
+])
+
env.Prepend(LIBS = [
st_dri,
i965drm,
- ws_drm,
ws_wrapper,
i965,
trace,
@@ -24,6 +29,6 @@ env.Prepend(LIBS = [
env.LoadableModule(
target = 'i965_dri.so',
- source = 'dummy.c',
+ source = 'target.c',
SHLIBPREFIX = '',
)