summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-radeonsi/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri-radeonsi/SConscript')
-rw-r--r--src/gallium/targets/dri-radeonsi/SConscript25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-radeonsi/SConscript b/src/gallium/targets/dri-radeonsi/SConscript
new file mode 100644
index 00000000000..2b5c151fba6
--- /dev/null
+++ b/src/gallium/targets/dri-radeonsi/SConscript
@@ -0,0 +1,25 @@
+Import('*')
+
+env = drienv.Clone()
+
+env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE'])
+
+env.Prepend(LIBS = [
+ st_dri,
+ radeonwinsys,
+ radeonsi,
+ trace,
+ rbug,
+ mesa,
+ glsl,
+ gallium,
+ COMMON_DRI_DRM_OBJECTS
+])
+
+module = env.SharedLibrary(
+ target ='radeonsi_dri.so',
+ source = 'target.c',
+ SHLIBPREFIX = '',
+)
+
+env.Alias('dri-radeonsi', module)