mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
mapi: Fix enums.c build with other build systems.
Tested with scons (by both myself and Mark Janes), Android is just copy and paste.
This commit is contained in:
parent
1c0ac1976a
commit
148c2f5b17
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ env.CodeGenerate(
|
|||
env.CodeGenerate(
|
||||
target = '../../../mesa/main/enums.c',
|
||||
script = 'gl_enums.py',
|
||||
source = sources,
|
||||
source = '../registry/gl.xml',
|
||||
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ $(intermediates)/main/remap_helper.h: $(dispatch_deps)
|
|||
$(call es-gen, $*)
|
||||
|
||||
$(intermediates)/main/enums.c: PRIVATE_SCRIPT :=$(MESA_PYTHON2) $(glapi)/gl_enums.py
|
||||
$(intermediates)/main/enums.c: PRIVATE_XML := -f $(glapi)/gl_and_es_API.xml
|
||||
$(intermediates)/main/enums.c: PRIVATE_XML := -f $(glapi)/../registry/gl.xml
|
||||
|
||||
$(intermediates)/main/enums.c: $(dispatch_deps)
|
||||
$(call es-gen)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue