summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2016-02-24 12:56:25 -0600
committerEmil Velikov <[email protected]>2016-02-29 11:13:31 +0000
commit8238432c1fa0f7f97081ec1354d9beab393b7773 (patch)
tree9e34aec18a77ede3ab3fa8c8d67800ab31c5cba6 /src/compiler
parentda4c0efcc96b0367a8ad0a723594892698d2e520 (diff)
Android: glsl: fix dependence on YACC_HEADER_SUFFIX from build system
The makefile was implicitly picking up YACC_HEADER_SUFFIX from the Android build system, but this variable is now gone. Add it locally to fix the build with AOSP master. Cc: "11.1 11.2" <[email protected]> Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Emil Velikov <[email protected]> (cherry picked from commit a2f16db19b18bcb0e00702b17adc84483c17c590)
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/Android.gen.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/Android.gen.mk b/src/compiler/glsl/Android.gen.mk
index c0902b27f32..de5cd0f474c 100644
--- a/src/compiler/glsl/Android.gen.mk
+++ b/src/compiler/glsl/Android.gen.mk
@@ -51,6 +51,8 @@ define glsl_local-y-to-c-and-h
$(hide) $(YACC) -o $@ -p "glcpp_parser_" $<
endef
+YACC_HEADER_SUFFIX := .hpp
+
define local-yy-to-cpp-and-h
@mkdir -p $(dir $@)
@echo "Mesa Yacc: $(PRIVATE_MODULE) <= $<"