summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-04-24 14:38:48 -0700
committerVinson Lee <vlee@vmware.com>2010-04-24 14:38:48 -0700
commitac942f5aa2dc3ec43ab879a6065da048ed6cfce3 (patch)
tree30faa14dd54ded8dd47e7178ff8386a78b3ccd63
parentb147aaea4dfb278f76f210d55c8e20b15b6fba18 (diff)
downloadexternal_mesa3d-ac942f5aa2dc3ec43ab879a6065da048ed6cfce3.zip
external_mesa3d-ac942f5aa2dc3ec43ab879a6065da048ed6cfce3.tar.gz
external_mesa3d-ac942f5aa2dc3ec43ab879a6065da048ed6cfce3.tar.bz2
nv50: Add to SCons build.
-rw-r--r--SConstruct2
-rw-r--r--src/gallium/drivers/nv50/SConscript26
2 files changed, 27 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index fdd4855..2badd76 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', 'nouveau']))
+ ['softpipe', 'failover', 'svga', 'i915', 'i965', 'trace', 'r300', 'identity', 'llvmpipe', 'nouveau', 'nv50']))
opts.Add(ListVariable('winsys', 'winsys drivers to build', default_winsys,
['xlib', 'vmware', 'i915', 'i965', 'gdi', 'radeon', 'graw-xlib']))
diff --git a/src/gallium/drivers/nv50/SConscript b/src/gallium/drivers/nv50/SConscript
new file mode 100644
index 0000000..8625f92
--- /dev/null
+++ b/src/gallium/drivers/nv50/SConscript
@@ -0,0 +1,26 @@
+Import('*')
+
+env = env.Clone()
+
+nv50 = env.ConvenienceLibrary(
+ target = 'nv50',
+ source = [
+ 'nv50_buffer.c',
+ 'nv50_clear.c',
+ 'nv50_context.c',
+ 'nv50_draw.c',
+ 'nv50_miptree.c',
+ 'nv50_query.c',
+ 'nv50_program.c',
+ 'nv50_resource.c',
+ 'nv50_screen.c',
+ 'nv50_state.c',
+ 'nv50_state_validate.c',
+ 'nv50_surface.c',
+ 'nv50_tex.c',
+ 'nv50_transfer.c',
+ 'nv50_vbo.c',
+ 'nv50_push.c',
+ ])
+
+Export('nv50')