summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-24 01:15:00 -0700
committerVinson Lee <[email protected]>2010-04-24 01:15:00 -0700
commite3eed8bf218c04127484e0664c67c100703fa1d8 (patch)
treec16ddbc7d52d8d9970c8049e6ab6f8bbd1dbe4a7
parentdda8046a6460cbdcfd0ed8a78a443077296a29d2 (diff)
nouveau: Add to SCons build.
-rw-r--r--SConstruct2
-rw-r--r--src/gallium/drivers/nouveau/SConscript11
2 files changed, 12 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index fdcd72b30d1..fdd48556a06 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 00000000000..fe7af4d2ae8
--- /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')