Gianni Tedesco
2010-Oct-25 16:34 UTC
[Xen-devel] [PATCH]: tools: delete qemu during make distclean
The top-level makefile claims this to be the expected behaviour so make it so. Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> diff -r 2e8bdff60d01 tools/Makefile --- a/tools/Makefile Sun Oct 24 13:18:26 2010 +0100 +++ b/tools/Makefile Mon Oct 25 17:32:03 2010 +0100 @@ -30,7 +30,12 @@ SUBDIRS-y += libfsimage SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen SUBDIRS-$(CONFIG_Linux) += fs-back SUBDIRS-$(CONFIG_NetBSD) += fs-back + +# do not recurse in to a dir we are about to delete +ifneq "$(MAKECMDGOALS)" "distclean" SUBDIRS-$(CONFIG_IOEMU) += ioemu-dir +endif + SUBDIRS-y += xenpmd SUBDIRS-y += libxl SUBDIRS-y += remus @@ -67,6 +72,7 @@ clean: subdirs-clean .PHONY: distclean distclean: subdirs-distclean + rm -rf ioemu-dir ioemu-remote ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH)) IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH) \ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel