WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] tools: Update distclean target to remove

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools: Update distclean target to remove auto-gen'ed tarballs.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jul 2010 03:25:13 -0700
Delivery-date: Tue, 20 Jul 2010 03:25:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools: Update distclean target to remove auto-gen'ed tarballs., Xen patchbot-unstable <=