summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-08-10 15:23:35 +0100
committerJosé Fonseca <[email protected]>2009-08-29 09:21:28 +0100
commitfb56786f602d5becea6aea50c5c1dbb1945d12cf (patch)
treea909b1fad4dbfbf55dfac3b77d85cf3551cccbea
parent9285f159e0136da0e4e2381ea5340faee2a043e0 (diff)
util: Auto-generate u_format_table.c from SConscript.
-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 88a2ae7ae94..7a2180736d9 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 = [