am c5b8d4ce
: Merge "The old clean target had bit rotted." into gingerbread
Merge commit 'c5b8d4ceb63909e5f0811fa80dca205996fd8644' into gingerbread-plus-aosp * commit 'c5b8d4ceb63909e5f0811fa80dca205996fd8644': The old clean target had bit rotted.
This commit is contained in:
16
core/main.mk
16
core/main.mk
@@ -780,23 +780,13 @@ $(call dist-for-goals,sdk, \
|
|||||||
findbugs: $(INTERNAL_FINDBUGS_HTML_TARGET) $(INTERNAL_FINDBUGS_XML_TARGET)
|
findbugs: $(INTERNAL_FINDBUGS_HTML_TARGET) $(INTERNAL_FINDBUGS_XML_TARGET)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
dirs_to_clean := \
|
|
||||||
$(PRODUCT_OUT) \
|
|
||||||
$(TARGET_COMMON_OUT_ROOT) \
|
|
||||||
$(HOST_OUT) \
|
|
||||||
$(HOST_COMMON_OUT_ROOT)
|
|
||||||
clean:
|
clean:
|
||||||
@for dir in $(dirs_to_clean) ; do \
|
|
||||||
echo "Cleaning $$dir..."; \
|
|
||||||
rm -rf $$dir; \
|
|
||||||
done
|
|
||||||
@echo "Clean."; \
|
|
||||||
|
|
||||||
.PHONY: clobber
|
|
||||||
clobber:
|
|
||||||
@rm -rf $(OUT_DIR)
|
@rm -rf $(OUT_DIR)
|
||||||
@echo "Entire build directory removed."
|
@echo "Entire build directory removed."
|
||||||
|
|
||||||
|
.PHONY: clobber
|
||||||
|
clobber: clean
|
||||||
|
|
||||||
# The rules for dataclean and installclean are defined in cleanbuild.mk.
|
# The rules for dataclean and installclean are defined in cleanbuild.mk.
|
||||||
|
|
||||||
#xxx scrape this from ALL_MODULE_NAME_TAGS
|
#xxx scrape this from ALL_MODULE_NAME_TAGS
|
||||||
|
Reference in New Issue
Block a user