Android: glsl: fix dependence on YACC_HEADER_SUFFIX from build system
authorRob Herring <robh@kernel.org>
Wed, 24 Feb 2016 18:56:25 +0000 (12:56 -0600)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 Feb 2016 10:51:44 +0000 (10:51 +0000)
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" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/glsl/Android.gen.mk

index c0902b27f32b246ae036a50384040f9e42143752..de5cd0f474c4a6f21155a9f4349fb5c22481c5c1 100644 (file)
@@ -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) <= $<"