diff --git a/core/config.mk b/core/config.mk index 583909d57..86915a6ba 100644 --- a/core/config.mk +++ b/core/config.mk @@ -847,7 +847,7 @@ endef # These goals don't need to collect and include Android.mks/CleanSpec.mks # in the source tree. -dont_bother_goals := clean clobber dataclean installclean \ +dont_bother_goals := dataclean installclean \ help out \ snod systemimage-nodeps \ stnod systemtarball-nodeps \ diff --git a/core/main.mk b/core/main.mk index 6089cec39..5bc8b3bb9 100644 --- a/core/main.mk +++ b/core/main.mk @@ -1270,14 +1270,6 @@ endif # samplecode in $(MAKECMDGOALS) .PHONY: findbugs findbugs: $(INTERNAL_FINDBUGS_HTML_TARGET) $(INTERNAL_FINDBUGS_XML_TARGET) -.PHONY: clean -clean: - @rm -rf $(OUT_DIR)/* - @echo "Entire build directory removed." - -.PHONY: clobber -clobber: clean - # The rules for dataclean and installclean are defined in cleanbuild.mk. #xxx scrape this from ALL_MODULE_NAME_TAGS