summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i915/drm/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/i915/drm/SConscript')
-rw-r--r--src/gallium/winsys/i915/drm/SConscript19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gallium/winsys/i915/drm/SConscript b/src/gallium/winsys/i915/drm/SConscript
new file mode 100644
index 00000000000..96ca707e35f
--- /dev/null
+++ b/src/gallium/winsys/i915/drm/SConscript
@@ -0,0 +1,19 @@
+Import('*')
+
+env = env.Clone()
+
+env.ParseConfig('pkg-config --cflags libdrm')
+
+i915drm_sources = [
+ 'i915_drm_api.c',
+ 'i915_drm_batchbuffer.c',
+ 'i915_drm_buffer.c',
+ 'i915_drm_fence.c',
+]
+
+i915drm = env.ConvenienceLibrary(
+ target ='i915drm',
+ source = i915drm_sources,
+)
+
+Export('i915drm')