From: Emil Velikov Date: Mon, 4 Aug 2014 18:49:08 +0000 (+0100) Subject: android: add CleanSpec.mk X-Git-Tag: 2.4.57~28 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibdrm.git;a=commitdiff_plain;h=d69cc400f5c2e2148480e6252dafc542a646ae56 android: add CleanSpec.mk The file contains rules that are executed on incremental builds. This way one can avoid doing a full clean and ensure that the new object (library) is correctly build. Let's also cleanup the headers. Inspired by the work of Chih-Wei Huang, from the Android-x86 project. Signed-off-by: Emil Velikov --- diff --git a/CleanSpec.mk b/CleanSpec.mk new file mode 100644 index 0000000..8e23cd2 --- /dev/null +++ b/CleanSpec.mk @@ -0,0 +1,3 @@ +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/libdrm) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/freedreno) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libdrm_*intermediates)