[Mesa-dev] [PATCH 2/8] Android: glsl: fix dependence on YACC_HEADER_SUFFIX from build system
Rob Herring
robh at kernel.org
Wed Feb 24 18:56:25 UTC 2016
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: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Rob Herring <robh at kernel.org>
---
src/compiler/glsl/Android.gen.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/compiler/glsl/Android.gen.mk b/src/compiler/glsl/Android.gen.mk
index c0902b2..de5cd0f 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) <= $<"
--
2.5.0
More information about the mesa-dev
mailing list