gallium/aux: Update scons build for u_tracepoints.[ch]
Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7974>
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user