OSDN Git Service

android: fix the dependencies of the generated headers android-x86-4.4-r2
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 21 Dec 2014 06:48:15 +0000 (14:48 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 27 Dec 2014 12:05:44 +0000 (20:05 +0800)
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.

src/mesa/Android.libmesa_dricore.mk
src/mesa/Android.libmesa_st_mesa.mk

index 29ef1c6..b589975 100644 (file)
@@ -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
index e7203c4..70333f1 100644 (file)
@@ -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