[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] tools: Update distclean target to remove auto-gen'ed tarballs.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1279621119 -3600 # Node ID e2ba7cc39236b3fbaa9bf515686de21b46e204bc # Parent 26bbf4536df22106418f6c71f269dbe116a93e39 tools: Update distclean target to remove auto-gen'ed tarballs. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- tools/Makefile | 10 ++++++++-- tools/Rules.mk | 5 ++++- tools/firmware/Makefile | 6 ++++++ tools/firmware/etherboot/Makefile | 4 ++++ 4 files changed, 22 insertions(+), 3 deletions(-) diff -r 26bbf4536df2 -r e2ba7cc39236 tools/Makefile --- a/tools/Makefile Tue Jul 20 11:09:21 2010 +0100 +++ b/tools/Makefile Tue Jul 20 11:18:39 2010 +0100 @@ -62,8 +62,11 @@ install: subdirs-install $(INSTALL_DIR) $(DESTDIR)/var/lib/xen $(INSTALL_DIR) $(DESTDIR)/var/lock/subsys -.PHONY: clean distclean -clean distclean: subdirs-clean +.PHONY: clean +clean: subdirs-clean + +.PHONY: distclean +distclean: subdirs-distclean ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH)) IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH) \ @@ -121,3 +124,6 @@ subdir-clean-debugger/gdbsx: subdir-install-debugger/gdbsx: $(MAKE) -C debugger/gdbsx install + +subdir-distclean-firmware: .phony + $(MAKE) -C firmware distclean diff -r 26bbf4536df2 -r e2ba7cc39236 tools/Rules.mk --- a/tools/Rules.mk Tue Jul 20 11:09:21 2010 +0100 +++ b/tools/Rules.mk Tue Jul 20 11:18:39 2010 +0100 @@ -67,10 +67,13 @@ INSTALL_PYTHON_PROG = \ %.o: %.cc $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $< -subdirs-all subdirs-clean subdirs-install: .phony +subdirs-all subdirs-clean subdirs-install subdirs-distclean: .phony @set -e; for subdir in $(SUBDIRS) $(SUBDIRS-y); do \ $(MAKE) subdir-$(patsubst subdirs-%,%,$@)-$$subdir; \ done subdir-all-% subdir-clean-% subdir-install-%: .phony $(MAKE) -C $* $(patsubst subdir-%-$*,%,$@) + +subdir-distclean-%: .phony + $(MAKE) -C $* clean diff -r 26bbf4536df2 -r e2ba7cc39236 tools/firmware/Makefile --- a/tools/firmware/Makefile Tue Jul 20 11:09:21 2010 +0100 +++ b/tools/firmware/Makefile Tue Jul 20 11:18:39 2010 +0100 @@ -30,3 +30,9 @@ install: all .PHONY: clean clean: subdirs-clean + +.PHONY: distclean +distclean: subdirs-distclean + +subdir-distclean-etherboot: .phony + $(MAKE) -C etherboot distclean \ No newline at end of file diff -r 26bbf4536df2 -r e2ba7cc39236 tools/firmware/etherboot/Makefile --- a/tools/firmware/etherboot/Makefile Tue Jul 20 11:09:21 2010 +0100 +++ b/tools/firmware/etherboot/Makefile Tue Jul 20 11:18:39 2010 +0100 @@ -49,3 +49,7 @@ eb-roms.h: Config .PHONY: clean clean: rm -rf $D $D.git *~ eb-roms.h + +.PHONY: distclean +distclean: clean + rm -rf $T _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |