aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/mk.linux-2.6-xen
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-07-03 08:56:29 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-07-03 08:56:29 +0100
commit943a72a09af452eb1654b10ebdae7ce064f29718 (patch)
tree42c3c678eae8711aaa544d2a67c12ac2c61115f5 /buildconfigs/mk.linux-2.6-xen
parent89d8ddd152b8251647cbf4e7d59f45ef3d184454 (diff)
downloadxen-943a72a09af452eb1654b10ebdae7ce064f29718.tar.gz
xen-943a72a09af452eb1654b10ebdae7ce064f29718.tar.bz2
xen-943a72a09af452eb1654b10ebdae7ce064f29718.zip
[BUILD] Miscellaneous build-system fixes and tweaks.
* Don't delete non-existent %.tar.bz2 in buildconfigs/Rules.mk's %-mrproper * Add a mrpropper target to buildconfigs/mk.linux-2.6-xen, and have this delete the local tarball - This should also delete the local patch, if there is one, but I am not sure how to do this with the current incarntation of the code, and I will post a subsequent patch which makes this easier and effects this chang. As there currently is no local patch this is not a big deal at this moment. (Horms) * Stop kclean from erroring out if the kernel directory doesn't exist * Remove patches/*/.makedep in top level Makefile rather than in buildconfigs/Rules.mk, as calling rules in the latter causes patches/*/.make to be created (Magnus) Signed-Off-By: Magnus Damm <magnus@valinux.co.jp> Signed-Off-By: Horms <horms@verge.net.au>
Diffstat (limited to 'buildconfigs/mk.linux-2.6-xen')
-rw-r--r--buildconfigs/mk.linux-2.6-xen8
1 files changed, 7 insertions, 1 deletions
diff --git a/buildconfigs/mk.linux-2.6-xen b/buildconfigs/mk.linux-2.6-xen
index 04070337f1..ce861acc1b 100644
--- a/buildconfigs/mk.linux-2.6-xen
+++ b/buildconfigs/mk.linux-2.6-xen
@@ -47,8 +47,14 @@ config: $(LINUX_DIR)/include/linux/autoconf.h
.PHONY: clean
clean::
- $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) clean
+ [ ! -d $(LINUX_DIR) ] || \
+ $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) clean
+
.PHONY: delete
delete:
rm -rf tmp-linux-$(LINUX_VER) $(LINUX_DIR)
+
+.PHONY: mrpropper
+mrpropper:
+ rm -f linux-$(LINUX_VER).tar.bz2