summaryrefslogtreecommitdiff
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-08-04 19:49:08 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-01 16:06:02 +0100
commitd69cc400f5c2e2148480e6252dafc542a646ae56 (patch)
tree9d726f0fdbefed519773c7d398a7b41f3d7176da /CleanSpec.mk
parenta8ce03f35f17cd0f6fa90fde745d50c5a211b664 (diff)
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 @@
+$(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)