From: José Fonseca Date: Mon, 10 Aug 2009 14:23:35 +0000 (+0100) Subject: util: Auto-generate u_format_table.c from SConscript. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb56786f602d5becea6aea50c5c1dbb1945d12cf;p=mesa.git util: Auto-generate u_format_table.c from SConscript. --- 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 = [