summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-10 17:03:13 +0100
committerJakob Bornecrantz <[email protected]>2010-05-10 17:06:02 +0100
commit40faa56efbcb04b6cb7d611526688423dba04a7b (patch)
treec69f6705e6bb65a2b9b158d46a03017ef2f197eb /src/gallium
parent8ff59f09876686907f79ad86a12e36ebb623a0b2 (diff)
gallium: Add software drm api helper to scons build
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/SConscript1
-rw-r--r--src/gallium/winsys/sw/drm/SConscript21
2 files changed, 22 insertions, 0 deletions
diff --git a/src/gallium/winsys/SConscript b/src/gallium/winsys/SConscript
index db7356dee97..330b1ab834c 100644
--- a/src/gallium/winsys/SConscript
+++ b/src/gallium/winsys/SConscript
@@ -17,6 +17,7 @@ if 'gdi' in env['winsys']:
if env['dri']:
SConscript([
+ 'sw/drm/SConscript',
'sw/dri/SConscript',
])
diff --git a/src/gallium/winsys/sw/drm/SConscript b/src/gallium/winsys/sw/drm/SConscript
new file mode 100644
index 00000000000..15a2e05d5af
--- /dev/null
+++ b/src/gallium/winsys/sw/drm/SConscript
@@ -0,0 +1,21 @@
+#######################################################################
+# SConscript for xlib winsys
+
+
+Import('*')
+
+env = env.Clone()
+
+env.Append(CPPPATH = [
+ '#/src/gallium/include',
+ '#/src/gallium/auxiliary',
+ '#/src/gallium/drivers',
+])
+
+ws_drm = env.ConvenienceLibrary(
+ target = 'ws_drm',
+ source = [
+ 'sw_drm_api.c',
+ ]
+)
+Export('ws_drm')