From cc3b99bb48769ccd018b781338b548306af5046b Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sun, 26 Aug 2018 23:38:12 +0200 Subject: [PATCH] android: broadcom/cle: export the broadcom top level path headers 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: 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" Acked-by: Eric Anholt Reviewed-by: Emil Velikov Signed-off-by: Mauro Rossi --- 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 c6bf262..5634a8d 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.7.4