[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] really fix mkpatches to work correctly.



# HG changeset patch
# User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# 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@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.