[Mesa-dev] [PATCH 3/3] android: broadcom/cle: export the broadcom top level path headers

Mauro Rossi issor.oruam at gmail.com
Sun Aug 26 22:22:15 UTC 2018


Fixes the following building error in vc4 build:

In file included from external/mesa/src/gallium/drivers/vc4/kernel/vc4_render_cl.c:34:
In file included from external/mesa/src/gallium/drivers/vc4/kernel/vc4_drv.h:27:
In file included from external/mesa/src/gallium/drivers/vc4/vc4_simulator_validate.h:34:
In file included from external/mesa/src/gallium/drivers/vc4/vc4_context.h:39:
In file included from external/mesa/src/gallium/drivers/vc4/vc4_cl.h:56:
out/target/product/x86_64/gen/STATIC_LIBRARIES/libmesa_broadcom_genxml_intermediates/broadcom/cle/v3d_packet_v21_pack.h:12:10:
fatal error: 'cle/v3d_packet_helpers.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Fixes: 5b102160ae ("broadcom/genxml: Introduce a V3D packet/struct decoder.")
Cc: "18.2" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
---
 src/broadcom/Android.cle.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/broadcom/Android.cle.mk b/src/broadcom/Android.cle.mk
index c6bf262641..5634a8d4ad 100644
--- a/src/broadcom/Android.cle.mk
+++ b/src/broadcom/Android.cle.mk
@@ -31,6 +31,8 @@ LOCAL_STATIC_LIBRARIES := libmesa_broadcom_genxml
 
 LOCAL_C_INCLUDES += $(MESA_TOP)/src/gallium/include
 
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
+
 LOCAL_SHARED_LIBRARIES := libexpat libz
 
 include $(MESA_COMMON_MK)
-- 
2.17.1



More information about the mesa-dev mailing list