Mailing List Archive

really fix mkpatches to work correctly.
# HG changeset patch
# User vhanquez@kneesa.uk.xensource.com
# Node ID 08c0861679ce5d90d027fac81388de87809bbec8
# Parent 4480e22f2ef25badec4563903d96c69fac8d31b9
really fix mkpatches to work correctly.
unfortunately, add some code duplication in mkpatches area.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>

diff -r 4480e22f2ef2 -r 08c0861679ce buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk Thu Dec 8 08:09:09 2005
+++ b/buildconfigs/Rules.mk Thu Dec 8 08:57:55 2005
@@ -110,7 +110,12 @@
%-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 $(<D) tmp-$@
+ ( cd linux-2.6-xen-sparse && ./mkbuildtree ../tmp-$@ )
+ diff -Nurp $(<D) tmp-$@ > $@ || true
+ rm -rf tmp-$@

%-xen.patch: ref-%/.valid-ref
rm -rf tmp-$@

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog