From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: [PATCH] stubdom: fix make clean ; make Date: Wed, 30 Jul 2008 17:39:13 +0100 Message-ID: <20080730163913.GV4465@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org stubdom: fix make clean ; make make should not have to regenerate the libxc and ioemu directories since that is part of the mk-headers target. Use the subdirectory clean targets instead to clean just the object files. diff -r e355f9dce939 stubdom/Makefile --- a/stubdom/Makefile Wed Jul 30 17:20:25 2008 +0100 +++ b/stubdom/Makefile Wed Jul 30 17:38:05 2008 +0100 @@ -321,7 +321,8 @@ clean: $(MAKE) -C caml clean $(MAKE) -C c clean $(MAKE) -C grub clean - rm -fr libxc ioemu mini-os include + $(MAKE) -C libxc clean + $(MAKE) -C ioemu clean # clean the cross-compilation result .PHONY: crossclean @@ -329,6 +330,7 @@ crossclean: clean rm -fr $(CROSS_ROOT) rm -fr newlib-build rm -fr zlib-$(ZLIB_VERSION) pciutils-$(LIBPCI_VERSION) + rm -fr libxc ioemu rm -f mk-headers # clean patched sources