From fb56786f602d5becea6aea50c5c1dbb1945d12cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 10 Aug 2009 15:23:35 +0100 Subject: [PATCH] util: Auto-generate u_format_table.c from SConscript. --- src/gallium/auxiliary/util/SConscript | 7 +++++++ 1 file changed, 7 insertions(+) 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 = [ -- 2.30.2