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] [xen-unstable] Make header mismatch checking more robust

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Make header mismatch checking more robust against build time changes in
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Jun 2007 03:16:12 -0700
Delivery-date: Mon, 04 Jun 2007 03:30:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1180543078 -3600
# Node ID a1626e9721488b58ef5e29979ef786e30311c93b
# Parent  96a59a5ae6568afbd8a8ac49f3614d370e6cde8d
Make header mismatch checking more robust against build time changes in
xen/include/public/foreign.

Unfortunately diff's -x and -X options do not support excluding paths just
individual files so we have to list unqualified filenames. This is ok for now
since there are no filename clashes.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 buildconfigs/interface.exclude |    7 +++++++
 buildconfigs/mk.linux-2.6-xen  |    3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff -r 96a59a5ae656 -r a1626e972148 buildconfigs/interface.exclude
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/buildconfigs/interface.exclude    Wed May 30 17:37:58 2007 +0100
@@ -0,0 +1,7 @@
+*.size
+*.pyc
+checker
+checker.c
+ia64.h
+x86_32.h
+x86_64.h
diff -r 96a59a5ae656 -r a1626e972148 buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen     Wed May 30 17:01:26 2007 +0100
+++ b/buildconfigs/mk.linux-2.6-xen     Wed May 30 17:37:58 2007 +0100
@@ -28,7 +28,8 @@ include buildconfigs/src.$(XEN_LINUX_SOU
 .PHONY: build
 build: $(LINUX_DIR)/include/linux/autoconf.h
 ifneq ($(XEN_LINUX_ALLOW_INTERFACE_MISMATCH),y)
-       @if ! diff -urN -x '*.size' $(LINUX_SRCDIR)/include/xen/interface 
xen/include/public ; then \
+       @if ! diff -urN -X buildconfigs/interface.exclude \
+              $(LINUX_SRCDIR)/include/xen/interface xen/include/public ; then \
                echo "" 1>&2 ; \
                echo " *** $(LINUX_SRCDIR)/include/xen/interface is out of date 
" 1>&2 ; \
                echo " *** relative to $(XEN_ROOT)/xen/include/public." 1>&2 ; \

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Make header mismatch checking more robust against build time changes in, Xen patchbot-unstable <=