summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/SConscript')
-rw-r--r--src/mesa/SConscript13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index da003743f59..dafe6c4bbbd 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -104,12 +104,13 @@ if env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'):
pass
# The marshal_generated.c file is generated from the GL/ES API.xml file
-env.CodeGenerate(
- target = 'main/marshal_generated.c',
- script = GLAPI + 'gen/gl_marshal.py',
- source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
- command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
- )
+for i in range(8):
+ env.CodeGenerate(
+ target = 'main/marshal_generated{0}.c'.format(i),
+ script = GLAPI + 'gen/gl_marshal.py',
+ source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
+ command = python_cmd + ' $SCRIPT -f $SOURCE -i {0} -n 8 > $TARGET'.format(i)
+ )
# The marshal_generated.h file is generated from the GL/ES API.xml file
env.CodeGenerate(