[Mesa-dev] [PATCH] android: fix build issues with glsl_parser.h

Tapani Pälli tapani.palli at intel.com
Tue Aug 23 07:51:55 UTC 2016


Without this I'm getting "No rule to make target ... glsl_parser.h"
build error.

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
 src/compiler/Android.glsl.gen.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/compiler/Android.glsl.gen.mk b/src/compiler/Android.glsl.gen.mk
index 157aa27..06e1692 100644
--- a/src/compiler/Android.glsl.gen.mk
+++ b/src/compiler/Android.glsl.gen.mk
@@ -73,6 +73,8 @@ $(intermediates)/glsl/glsl_lexer.cpp: $(LOCAL_PATH)/glsl/glsl_lexer.ll
 $(intermediates)/glsl/glsl_parser.cpp: $(LOCAL_PATH)/glsl/glsl_parser.yy
 	$(call local-yy-to-cpp-and-h,.cpp)
 
+$(intermediates)/glsl/glsl_parser.h: $(intermediates)/glsl/glsl_parser.cpp
+
 $(intermediates)/glsl/glcpp/glcpp-lex.c: $(LOCAL_PATH)/glsl/glcpp/glcpp-lex.l
 	$(call local-l-or-ll-to-c-or-cpp)
 
-- 
2.7.4



More information about the mesa-dev mailing list