The old clean target had bit rotted.
Clean and clobber are now the same thing. Change-Id: I4873d40496b16e13689e22c48cff1fecdffb8b40
This commit is contained in:
parent
de3bfade57
commit
dfc5e0cb7b
1 changed files with 3 additions and 13 deletions
16
core/main.mk
16
core/main.mk
|
@ -774,23 +774,13 @@ $(call dist-for-goals,sdk, \
|
|||
findbugs: $(INTERNAL_FINDBUGS_HTML_TARGET) $(INTERNAL_FINDBUGS_XML_TARGET)
|
||||
|
||||
.PHONY: clean
|
||||
dirs_to_clean := \
|
||||
$(PRODUCT_OUT) \
|
||||
$(TARGET_COMMON_OUT_ROOT) \
|
||||
$(HOST_OUT) \
|
||||
$(HOST_COMMON_OUT_ROOT)
|
||||
clean:
|
||||
@for dir in $(dirs_to_clean) ; do \
|
||||
echo "Cleaning $$dir..."; \
|
||||
rm -rf $$dir; \
|
||||
done
|
||||
@echo "Clean."; \
|
||||
|
||||
.PHONY: clobber
|
||||
clobber:
|
||||
@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
|
||||
|
|
Loading…
Reference in a new issue