From df5dc503db829979f913c45db53f5d32e47c8d72 Mon Sep 17 00:00:00 2001 From: "vhanquez@kneesa.uk.xensource.com" Date: Thu, 8 Dec 2005 08:57:55 +0000 Subject: really fix mkpatches to work correctly. unfortunately, add some code duplication in mkpatches area. Signed-off-by: Vincent Hanquez --- buildconfigs/Rules.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'buildconfigs/Rules.mk') diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk index 26ee89472b..61cd156027 100644 --- a/buildconfigs/Rules.mk +++ b/buildconfigs/Rules.mk @@ -110,7 +110,12 @@ endif %-config: $(MAKE) -f buildconfigs/mk.$* config -linux-2.6-xen.patch: linux-$(LINUX_VER)-xen.patch +linux-2.6-xen.patch: ref-linux-$(LINUX_VER)/.valid-ref + rm -rf tmp-$@ + cp -al $( $@ || true + rm -rf tmp-$@ %-xen.patch: ref-%/.valid-ref rm -rf tmp-$@ -- cgit v1.2.3