summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorBill Peckham <bpeckham@google.com>2019-10-05 05:38:05 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-10-05 05:38:05 +0200
commit5a096ecf5a20d104829ff867159b9f16d904708c (patch)
tree9087ea25901efd23478bda2349f41c42f3987c38 /CleanSpec.mk
parentMerge "recovery_utils: Use libvoid_headers." am: 4782e79324 am: 7018c5b2d8 (diff)
parentMerge "Moving recovery resources from /system to /vendor" am: 3903b26368 (diff)
downloadandroid_bootable_recovery-5a096ecf5a20d104829ff867159b9f16d904708c.tar
android_bootable_recovery-5a096ecf5a20d104829ff867159b9f16d904708c.tar.gz
android_bootable_recovery-5a096ecf5a20d104829ff867159b9f16d904708c.tar.bz2
android_bootable_recovery-5a096ecf5a20d104829ff867159b9f16d904708c.tar.lz
android_bootable_recovery-5a096ecf5a20d104829ff867159b9f16d904708c.tar.xz
android_bootable_recovery-5a096ecf5a20d104829ff867159b9f16d904708c.tar.zst
android_bootable_recovery-5a096ecf5a20d104829ff867159b9f16d904708c.zip
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 0980a35f3..d4e9e437b 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -61,6 +61,14 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/SystemUpdaterSample
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/libbrotli.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/libbz.so)
+# Move recovery resources from /system to /vendor.
+$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/bin/applypatch)
+$(call add-clean-step, rm -r $(PRODUCT_OUT)/symbols/system/bin/applypatch)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/PACKAGING/target_files_intermediates/*-target_files-*/SYSTEM/bin/applypatch)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/PACKAGING/target_files_intermediates/*-target_files-*/SYSTEM/bin/install-recovery.sh)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/PACKAGING/target_files_intermediates/*-target_files-*/SYSTEM/etc/recovery-resource.dat)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/PACKAGING/target_files_intermediates/*-target_files-*/SYSTEM/recovery-from-boot.p)
+
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************