aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/mk.linux-2.6-xen
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@xensource.com>2007-05-30 17:37:58 +0100
committerIan Campbell <ian.campbell@xensource.com>2007-05-30 17:37:58 +0100
commitd3f7f10c42ac5230bfecdfa73c5a07f9dcac935e (patch)
treeee6b84ca15cb63cbf4ab43fcd4a69832a6b4541b /buildconfigs/mk.linux-2.6-xen
parent4ae289712c3c680955f31b0055d7ed71f447a8ef (diff)
downloadxen-d3f7f10c42ac5230bfecdfa73c5a07f9dcac935e.tar.gz
xen-d3f7f10c42ac5230bfecdfa73c5a07f9dcac935e.tar.bz2
xen-d3f7f10c42ac5230bfecdfa73c5a07f9dcac935e.zip
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@xensource.com>
Diffstat (limited to 'buildconfigs/mk.linux-2.6-xen')
-rw-r--r--buildconfigs/mk.linux-2.6-xen3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildconfigs/mk.linux-2.6-xen b/buildconfigs/mk.linux-2.6-xen
index a0e4fa89f1..678a770600 100644
--- a/buildconfigs/mk.linux-2.6-xen
+++ b/buildconfigs/mk.linux-2.6-xen
@@ -28,7 +28,8 @@ include buildconfigs/src.$(XEN_LINUX_SOURCE)
.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 ; \