mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
scons: Fix dependencies of marshal_generated.[ch].
These generated source files depend not only upon gl_and_es_API.xml, but all other XML files that are included by it. This change updates the generation rules to depend on all gen/*.xml files, like done for other SCons generation rules, and should fix incremental broken SCons builds due to missing dependencies. Trivial.
This commit is contained in:
parent
641f629536
commit
2ba991cbcd
1 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ if env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'):
|
|||
env.CodeGenerate(
|
||||
target = 'main/marshal_generated.c',
|
||||
script = GLAPI + 'gen/gl_marshal.py',
|
||||
source = GLAPI + 'gen/gl_and_es_API.xml',
|
||||
source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
|
||||
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
|
||||
)
|
||||
|
||||
|
|
@ -130,7 +130,7 @@ env.CodeGenerate(
|
|||
env.CodeGenerate(
|
||||
target = 'main/marshal_generated.h',
|
||||
script = GLAPI + 'gen/gl_marshal_h.py',
|
||||
source = GLAPI + 'gen/gl_and_es_API.xml',
|
||||
source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
|
||||
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue