summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-10 15:23:35 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:28 +0100
commitfb56786f602d5becea6aea50c5c1dbb1945d12cf (patch)
treea909b1fad4dbfbf55dfac3b77d85cf3551cccbea /src/gallium/auxiliary
parent9285f159e0136da0e4e2381ea5340faee2a043e0 (diff)
util: Auto-generate u_format_table.c from SConscript.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/SConscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/SConscript b/src/gallium/auxiliary/util/SConscript
index 88a2ae7ae9..7a2180736d 100644
--- a/src/gallium/auxiliary/util/SConscript
+++ b/src/gallium/auxiliary/util/SConscript
@@ -1,5 +1,12 @@
Import('*')
+env.CodeGenerate(
+ target = 'u_format_table.c',
+ script = 'u_format_table.py',
+ source = ['u_format.csv'],
+ command = 'python $SCRIPT $SOURCE > $TARGET'
+)
+
util = env.ConvenienceLibrary(
target = 'util',
source = [