aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormwilli2@equilibrium.research <mwilli2@equilibrium.research>2005-05-12 17:01:09 +0000
committermwilli2@equilibrium.research <mwilli2@equilibrium.research>2005-05-12 17:01:09 +0000
commit359e924a86b9ab3bff59af8043e1db088b40a900 (patch)
tree4c84278237814cd7560deb7d0cb08428759acf9d
parent7a61c7cf0c8d03fa9ef756c5c7f47303aa4c347f (diff)
downloadxen-359e924a86b9ab3bff59af8043e1db088b40a900.tar.gz
xen-359e924a86b9ab3bff59af8043e1db088b40a900.tar.bz2
xen-359e924a86b9ab3bff59af8043e1db088b40a900.zip
bitkeeper revision 1.1159.258.118 (42838bd51otdD7c_dgDNIyjTJD52hg)
Fix source fetch for Linux 2.4 and NetBSD 2.0. Signed-off-by: mark.williamson@cl.cam.ac.uk
-rw-r--r--buildconfigs/Rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
index 60b4fea1db..b740ed988a 100644
--- a/buildconfigs/Rules.mk
+++ b/buildconfigs/Rules.mk
@@ -55,7 +55,9 @@ pristine-%: %.tar.bz2
touch $@ # update timestamp to avoid rebuild
@rm -rf tmp-$(@F)
-OS_PATCHES = $(shell echo patches/$(OS)-$(OS_VER)/*.patch)
+OS_PATCHES = $(shell if [[ -e patches/$(OS)-$(OS_VER) ]]; then \
+ echo patches/$(OS)-$(OS_VER)/*.patch; fi)
+
ref-%: pristine-% $(OS_PATCHES)
rm -rf $@