aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/fbdev/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-06-03 18:08:48 +0800
committerChia-I Wu <[email protected]>2010-06-11 12:23:38 +0800
commitce0c837f60d951de4f4798e5d4ab559155c09979 (patch)
tree9f7b4f7463206d3c3dd968a275359109eee518e5 /src/gallium/winsys/sw/fbdev/SConscript
parent628cf02d673890fac4f16b9241021a8eda87c96c (diff)
winsys: Add fbdev software winsys.
This is a simple winsys that mmap()s the framebuffer device and memcpy()s the contents of display targets to the framebuffer device for displaying.
Diffstat (limited to 'src/gallium/winsys/sw/fbdev/SConscript')
-rw-r--r--src/gallium/winsys/sw/fbdev/SConscript23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/fbdev/SConscript b/src/gallium/winsys/sw/fbdev/SConscript
new file mode 100644
index 00000000000..3b5b4ff1c07
--- /dev/null
+++ b/src/gallium/winsys/sw/fbdev/SConscript
@@ -0,0 +1,23 @@
+#######################################################################
+# SConscript for fbdev winsys
+
+
+Import('*')
+
+if env['platform'] == 'linux':
+
+ env = env.Clone()
+
+ env.Append(CPPPATH = [
+ '#/src/gallium/include',
+ '#/src/gallium/auxiliary',
+ '#/src/gallium/drivers',
+ ])
+
+ ws_fbdev = env.ConvenienceLibrary(
+ target = 'ws_fbdev',
+ source = [
+ 'fbdev_sw_winsys.c',
+ ]
+ )
+ Export('ws_fbdev')