android: broadcom/cle: add gallium include path
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 26 Aug 2018 21:11:02 +0000 (23:11 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 15 Sep 2018 07:14:42 +0000 (09:14 +0200)
Fixes the following building error:

In file included from external/mesa/src/broadcom/cle/v3d_decoder.c:38:
In file included from external/mesa/src/broadcom/cle/v3d_packet_helpers.h:29:
external/mesa/src/gallium/auxiliary/util/u_math.h:42:10:
fatal error: 'pipe/p_compiler.h' file not found
         ^~~~~~~~~~~~~~~~~~~
1 error generated.

Fixes: 5b102160ae ("broadcom/genxml: Introduce a V3D packet/struct decoder.")
Cc: "18.2" <mesa-stable@lists.freedesktop.org>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
src/broadcom/Android.cle.mk

index 9b728424fa1fe3bd46c826676222b05ba436ad4d..c6bf26264152270659054d3322f41d397201d698 100644 (file)
@@ -29,6 +29,8 @@ LOCAL_SRC_FILES := $(BROADCOM_DECODER_FILES)
 
 LOCAL_STATIC_LIBRARIES := libmesa_broadcom_genxml
 
+LOCAL_C_INCLUDES += $(MESA_TOP)/src/gallium/include
+
 LOCAL_SHARED_LIBRARIES := libexpat libz
 
 include $(MESA_COMMON_MK)