Add convenience target clean-junk

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2014-03-26 19:15:15 -07:00
parent ef251940f8
commit 6a099a0403
2 changed files with 11 additions and 0 deletions

View File

@ -421,6 +421,10 @@ clean-pkg:
$(foreach PKG,$(PKGS),$(PKG_DIR)/$($(PKG)_FILE)), \
$(wildcard $(PKG_DIR)/*)))
.PHONY: clean-junk
clean-junk: clean-pkg
rm -rf $(LOG_DIR) $(call TMP_DIR,*)
.PHONY: update
define UPDATE
$(if $(2),

View File

@ -1044,6 +1044,13 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
&ndash; use with caution!
</dd>
<dt>make clean-junk</dt>
<dd>
remove all unused files, including unused package
files, temporary folders, and logs
</dd>
<dt>make clean-pkg</dt>
<dd>