From f4bbf29d7671869569eee0bd949ea5a6d8af2c20 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 7 Dec 2020 09:08:10 -0800 Subject: [PATCH] gallium/aux: Update scons build for u_tracepoints.[ch] Signed-off-by: Rob Clark Reviewed-by: Jose Fonseca Part-of: --- src/gallium/auxiliary/SConscript | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript index 6488bb36513..69aeeb8c524 100644 --- a/src/gallium/auxiliary/SConscript +++ b/src/gallium/auxiliary/SConscript @@ -28,6 +28,20 @@ env.CodeGenerate( command = python_cmd + ' $SCRIPT > $TARGET' ) +env.CodeGenerate( + target = 'util/u_tracepoints.c', + script = 'util/u_tracepoints.py', + source = [], + command = python_cmd + ' $SCRIPT -p ' + Dir('#').abspath + '/src/gallium/auxiliary/util -C $TARGET' +) + +env.CodeGenerate( + target = 'util/u_tracepoints.h', + script = 'util/u_tracepoints.py', + source = [], + command = python_cmd + ' $SCRIPT -p ' + Dir('#').abspath + '/src/gallium/auxiliary/util -H $TARGET' +) + source = env.ParseSourceList('Makefile.sources', [ 'C_SOURCES', 'NIR_SOURCES',