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] Fix another corner case in the build system.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix another corner case in the build system.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 03 Feb 2006 19:24:17 +0000
Delivery-date: Fri, 03 Feb 2006 19:36:47 +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 cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 6b14b81dc5a8aba85472573f23dedfcbfcdf2f2b
# Parent  959ba341631c34024299f5773f13641b53270402
Fix another corner case in the build system.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 959ba341631c -r 6b14b81dc5a8 .hgignore
--- a/.hgignore Fri Feb  3 09:37:34 2006
+++ b/.hgignore Fri Feb  3 09:54:04 2006
@@ -14,7 +14,6 @@
 .*\.orig$
 .*\.rej$
 ^[^/]*\.bz2$
-^\.valid-srcs$
 ^TAGS$
 ^dist/.*$
 ^docs/.*\.aux$
@@ -68,6 +67,7 @@
 ^patches/tmp/.*$
 ^pristine-.*$
 ^ref-.*$
+^tmp-.*$
 ^tools/.*/TAGS$
 ^tools/.*/build/lib.*/.*\.py$
 ^tools/blktap/Makefile\.smh$
diff -r 959ba341631c -r 6b14b81dc5a8 buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen     Fri Feb  3 09:37:34 2006
+++ b/buildconfigs/mk.linux-2.6-xen     Fri Feb  3 09:54:04 2006
@@ -22,18 +22,18 @@
        fi
        $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_PATH=$(DESTDIR) 
install
 
-.valid-srcs: $(LINUX_SRCS)
-       touch $@
-
-pristine-linux-%.16-rc1-git4/.valid-pristine: .valid-srcs
+pristine-$(LINUX_PDIR)/.valid-srcs: $(LINUX_SRCS)
        rm -rf tmp-pristine-$(LINUX_PDIR) $(@D)
        mkdir -p tmp-pristine-$(LINUX_PDIR)
-       tar -C tmp-pristine-$(LINUX_PDIR) -jxf $(word 1,$(LINUX_SRCS))
+       tar -C tmp-pristine-$(LINUX_PDIR) -jxf $(word 1,$<)
        -@rm tmp-pristine-$(LINUX_PDIR)/pax_global_header
        mv tmp-pristine-$(LINUX_PDIR)/* $(@D)
        @rm -rf tmp-pristine-$(LINUX_PDIR)
-       bzcat $(wordlist 2,$(words $(LINUX_SRCS)),$(LINUX_SRCS)) | patch -d 
$(@D) -p1
+       bzcat $(wordlist 2,$(words $<),$<) | patch -d $(@D) -p1
        touch $(@D)/.hgskip
+       touch $@
+
+pristine-linux-%.16-rc1-git4/.valid-pristine: 
pristine-$(LINUX_PDIR)/.valid-srcs
        touch $@ # update timestamp to avoid rebuild
 
 $(LINUX_DIR)/include/linux/autoconf.h: ref-$(OS)-$(LINUX_VER)/.valid-ref

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix another corner case in the build system., Xen patchbot -unstable <=