aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2014-08-04 13:49:08 -0500
committerEmil Velikov2014-09-01 10:06:02 -0500
commitd69cc400f5c2e2148480e6252dafc542a646ae56 (patch)
tree9d726f0fdbefed519773c7d398a7b41f3d7176da /CleanSpec.mk
parenta8ce03f35f17cd0f6fa90fde745d50c5a211b664 (diff)
downloadexternal-libdrm-d69cc400f5c2e2148480e6252dafc542a646ae56.tar.gz
external-libdrm-d69cc400f5c2e2148480e6252dafc542a646ae56.tar.xz
external-libdrm-d69cc400f5c2e2148480e6252dafc542a646ae56.zip
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 <emil.l.velikov@gmail.com>
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
new file mode 100644
index 00000000..8e23cd25
--- /dev/null
+++ b/CleanSpec.mk
@@ -0,0 +1,3 @@
1$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/libdrm)
2$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/freedreno)
3$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libdrm_*intermediates)