aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen2019-01-11 21:40:01 -0600
committerDan Willemsen2019-01-11 21:51:06 -0600
commit45539e3941a8500887697789ab01e198f20c6faa (patch)
tree71faa4be334bcb2ecad9176b200f6b94cabe84e0
parent774c0f92bfb1a79b0abc5b60bc14cb5d1075f841 (diff)
downloadplatform-build-45539e3941a8500887697789ab01e198f20c6faa.tar.gz
platform-build-45539e3941a8500887697789ab01e198f20c6faa.tar.xz
platform-build-45539e3941a8500887697789ab01e198f20c6faa.zip
Fix possible incremental build issue
We tried to start using toybox's sed, but it produced invalid results with one of init's genrules. Clear out that generated code to fix future incremental builds, since we don't rebuild everything on a $PATH change. Bug: 122744241 Test: generate bad file, remove toybox sed, apply this change Change-Id: I197aa4b68b2fe309b3033e8736e1d80c8ded80ad
-rw-r--r--CleanSpec.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index b32868eab..8a2830330 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -532,6 +532,9 @@ $(call add-clean-step, rm -f .d)
532# Remove obsolete apps 532# Remove obsolete apps
533$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*) 533$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
534 534
535# Remove corrupt generated rule due to using toybox's sed
536$(call add-clean-step, rm -rf $(SOONG_OUT_DIR)/.intermediates/system/core/init/generated_stub_builtin_function_map)
537
535# ************************************************ 538# ************************************************
536# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST 539# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
537# ************************************************ 540# ************************************************