Mesa (master): nouveau: Add to SCons build.

Vinson Lee vlee at kemper.freedesktop.org
Sat Apr 24 08:15:36 UTC 2010


Module: Mesa
Branch: master
Commit: e3eed8bf218c04127484e0664c67c100703fa1d8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3eed8bf218c04127484e0664c67c100703fa1d8

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Apr 24 01:15:00 2010 -0700

nouveau: Add to SCons build.

---

 SConstruct                             |    2 +-
 src/gallium/drivers/nouveau/SConscript |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/SConstruct b/SConstruct
index fdcd72b..fdd4855 100644
--- a/SConstruct
+++ b/SConstruct
@@ -50,7 +50,7 @@ common.AddOptions(opts)
 opts.Add(ListVariable('statetrackers', 'state trackers to build', default_statetrackers,
                      ['mesa', 'python', 'xorg']))
 opts.Add(ListVariable('drivers', 'pipe drivers to build', default_drivers,
-                     ['softpipe', 'failover', 'svga', 'i915', 'i965', 'trace', 'r300', 'identity', 'llvmpipe']))
+                     ['softpipe', 'failover', 'svga', 'i915', 'i965', 'trace', 'r300', 'identity', 'llvmpipe', 'nouveau']))
 opts.Add(ListVariable('winsys', 'winsys drivers to build', default_winsys,
                      ['xlib', 'vmware', 'i915', 'i965', 'gdi', 'radeon', 'graw-xlib']))
 
diff --git a/src/gallium/drivers/nouveau/SConscript b/src/gallium/drivers/nouveau/SConscript
new file mode 100644
index 0000000..fe7af4d
--- /dev/null
+++ b/src/gallium/drivers/nouveau/SConscript
@@ -0,0 +1,11 @@
+Import('*')
+
+env = env.Clone()
+
+nouveau = env.ConvenienceLibrary(
+    target = 'nouveau',
+    source = [
+        'nouveau_screen.c',
+    ])
+
+Export('nouveau')




More information about the mesa-commit mailing list