Martin Roth has uploaded a new change for review. ( https://review.coreboot.org/19000 )
Change subject: Makefile: Update clean targets ......................................................................
Makefile: Update clean targets
- Clean utilities directories on clean & distclean - Have the distclean target clean up after 'what-jenkins-does'
Change-Id: I7d25d8234528b19bf36df6845a4500dbe1cbf9a4 Signed-off-by: Martin Roth gaumless@gmail.com --- M Makefile 1 file changed, 10 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/19000/1
diff --git a/Makefile b/Makefile index 79c86ad..b773b27 100644 --- a/Makefile +++ b/Makefile @@ -398,7 +398,7 @@ clean-for-update: doxygen-clean clean-for-update-target rm -rf $(obj) .xcompile
-clean: clean-for-update clean-target +clean: clean-for-update clean-target clean-utils rm -f .ccwrap
clean-cscope: @@ -407,8 +407,16 @@ clean-ctags: rm -f tags
-distclean: clean clean-ctags clean-cscope distclean-payloads +clean-utils: + $(foreach tool, $(TOOLLIST), $(MAKE) -C util/$(tool) clean MFLAGS= MAKEFLAGS= ;) + +distclean-utils: + $(foreach tool, $(TOOLLIST), $(MAKE) -C util/$(tool) distclean MFLAGS= MAKEFLAGS= ;) + +distclean: clean clean-ctags clean-cscope distclean-payloads distclean-utils rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig* .ccwrap .xcompile + rm -rf coreboot-builds coreboot-builds-chromeos + rm -f abuild*.xml junit.xml* util/lint/junit.xml
.PHONY: $(PHONY) clean clean-for-update clean-cscope cscope distclean doxygen doxy doxygen_simple .PHONY: ctags-project cscope-project clean-ctags