summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/kms-dri/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/sw/kms-dri/SConscript')
-rw-r--r--src/gallium/winsys/sw/kms-dri/SConscript26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/kms-dri/SConscript b/src/gallium/winsys/sw/kms-dri/SConscript
new file mode 100644
index 00000000000..0a6c335cbd7
--- /dev/null
+++ b/src/gallium/winsys/sw/kms-dri/SConscript
@@ -0,0 +1,26 @@
+#######################################################################
+# SConscript for kms-dri winsys
+
+
+Import('*')
+
+if env['platform'] not in ('linux'):
+ Return()
+
+env = env.Clone()
+
+env.PkgUseModules('DRM')
+
+env.Append(CPPPATH = [
+# 'include',
+ '#/src/gallium/include',
+ '#/src/gallium/auxiliary',
+])
+
+ws_kms_dri = env.ConvenienceLibrary(
+ target = 'ws_kms_dri',
+ source = [
+ 'kms_dri_sw_winsys.c',
+ ]
+)
+Export('ws_kms_dri')