summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorBill Peckham <bpeckham@google.com>2019-09-18 02:11:50 +0200
committerBill Peckham <bpeckham@google.com>2019-10-04 02:04:56 +0200
commit341644d657d84de0b7a2299d311503ea71418af3 (patch)
tree9087ea25901efd23478bda2349f41c42f3987c38 /CleanSpec.mk
parentMerge "recovery_utils: Use libvoid_headers." (diff)
downloadandroid_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.gz
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.bz2
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.lz
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.xz
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.tar.zst
android_bootable_recovery-341644d657d84de0b7a2299d311503ea71418af3.zip
Diffstat (limited to '')
-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
# ************************************************