From: Chih-Wei Huang Date: Sun, 21 Dec 2014 06:48:15 +0000 (+0800) Subject: android: fix the dependencies of the generated headers X-Git-Tag: android-x86-4.4-r2 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-mesa.git;a=commitdiff_plain;h=refs%2Ftags%2Fandroid-x86-4.4-r2 android: fix the dependencies of the generated headers The android build system doesn't add the generated headers as a part of the dependencies of the built module. We must add them manually. --- diff --git a/src/mesa/Android.libmesa_dricore.mk b/src/mesa/Android.libmesa_dricore.mk index 29ef1c6e31f..b589975fd26 100644 --- a/src/mesa/Android.libmesa_dricore.mk +++ b/src/mesa/Android.libmesa_dricore.mk @@ -68,4 +68,6 @@ include $(LOCAL_PATH)/Android.gen.mk include $(MESA_COMMON_MK) include $(BUILD_STATIC_LIBRARY) +$(LOCAL_BUILT_MODULE): $(filter %.h,$(sources)) + endif # MESA_BUILD_CLASSIC diff --git a/src/mesa/Android.libmesa_st_mesa.mk b/src/mesa/Android.libmesa_st_mesa.mk index e7203c41dfe..70333f1a32a 100644 --- a/src/mesa/Android.libmesa_st_mesa.mk +++ b/src/mesa/Android.libmesa_st_mesa.mk @@ -62,4 +62,6 @@ include $(LOCAL_PATH)/Android.gen.mk include $(MESA_COMMON_MK) include $(BUILD_STATIC_LIBRARY) +$(LOCAL_BUILT_MODULE): $(filter %.h,$(sources)) + endif # MESA_BUILD_GALLIUM