From 5b8d61b0ccf9c3228bef680b02c128734270a9d9 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Sat, 4 Apr 2015 05:01:23 +0800 Subject: android: export the path of the generated headers The modules need the headers can get the path automatically. Signed-off-by: Chih-Wei Huang Reviewed-by: Emil Velikov --- src/mesa/drivers/dri/Android.mk | 1 - src/mesa/drivers/dri/common/Android.mk | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/Android.mk b/src/mesa/drivers/dri/Android.mk index 64e237b1744..2c80f502bec 100644 --- a/src/mesa/drivers/dri/Android.mk +++ b/src/mesa/drivers/dri/Android.mk @@ -35,7 +35,6 @@ MESA_DRI_CFLAGS := \ -DHAVE_ANDROID_PLATFORM MESA_DRI_C_INCLUDES := \ - $(call intermediates-dir-for,STATIC_LIBRARIES,libmesa_dri_common) \ $(addprefix $(MESA_TOP)/, $(mesa_dri_common_INCLUDES)) \ $(MESA_TOP)/src/gallium/include \ $(MESA_TOP)/src/gallium/auxiliary \ diff --git a/src/mesa/drivers/dri/common/Android.mk b/src/mesa/drivers/dri/common/Android.mk index 458e4e931fe..511d4afad12 100644 --- a/src/mesa/drivers/dri/common/Android.mk +++ b/src/mesa/drivers/dri/common/Android.mk @@ -39,6 +39,8 @@ intermediates := $(call local-generated-sources-dir) LOCAL_C_INCLUDES := \ $(MESA_DRI_C_INCLUDES) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(intermediates) + # swrast only ifeq ($(MESA_GPU_DRIVERS),swrast) LOCAL_CFLAGS := -D__NOT_HAVE_DRM_H -- cgit v1.2.3