[Mesa-dev] [PATCH 1/2] glapi: update scons for building enums.py

Brian Paul brianp at vmware.com
Tue Dec 1 12:04:31 PST 2015


The commit "mesa: Switch to using the Khronos registry for generating
enums." updated Makefile.am but no the SConscript file.
---
 src/mapi/glapi/gen/SConscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
index b9cdbbf..ff0df74 100644
--- a/src/mapi/glapi/gen/SConscript
+++ b/src/mapi/glapi/gen/SConscript
@@ -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'
     )
 
-- 
1.9.1



More information about the mesa-dev mailing list