WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] really fix mkpatches to work correctly.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Dec 2005 15:28:12 +0000
Delivery-date: Thu, 08 Dec 2005 15:29:08 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] really fix mkpatches to work correctly., Xen patchbot -unstable <=