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] mk.linux-2.6-xenU, mk.linux-2.6-xen0, mk.linux-2.4-xenU,

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] mk.linux-2.6-xenU, mk.linux-2.6-xen0, mk.linux-2.4-xenU, mk.linux-2.4-xen0:
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 12 May 2005 15:41:03 +0000
Delivery-date: Thu, 12 May 2005 16:04:33 +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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1159.258.117, 2005/05/12 16:41:03+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        mk.linux-2.6-xenU, mk.linux-2.6-xen0, mk.linux-2.4-xenU, 
mk.linux-2.4-xen0:
          Honour EXTRAVERSION when trying to re-use a config file from a 
previous build.
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 mk.linux-2.4-xen0 |    9 ++++-----
 mk.linux-2.4-xenU |    9 ++++-----
 mk.linux-2.6-xen0 |    9 ++++-----
 mk.linux-2.6-xenU |    9 ++++-----
 4 files changed, 16 insertions(+), 20 deletions(-)


diff -Nru a/buildconfigs/mk.linux-2.4-xen0 b/buildconfigs/mk.linux-2.4-xen0
--- a/buildconfigs/mk.linux-2.4-xen0    2005-05-12 12:05:06 -04:00
+++ b/buildconfigs/mk.linux-2.4-xen0    2005-05-12 12:05:06 -04:00
@@ -5,9 +5,7 @@
 
 EXTRAVERSION = xen0
 
-FULLVERSION  = $(LINUX_VER)-$(EXTRAVERSION)
-
-LINUX_DIR    = $(OS)-$(FULLVERSION)
+LINUX_DIR    = $(OS)-$(LINUX_VER)-$(EXTRAVERSION)
 
 include buildconfigs/Rules.mk
 
@@ -39,8 +37,9 @@
        # add ebtables patch
        ( cd $(LINUX_DIR) ; patch -p1 -F3 < ../patches/tmp/ebtables.diff )
        # Re-use config from install dir if one exits else use default config
-       [ -r $(DESTDIR)/boot/config-$(FULLVERSION) ] && \
-         cp $(DESTDIR)/boot/config-$(FULLVERSION) $(LINUX_DIR)/.config \
+       CONFIG_VERSION=$$(sed -ne 's/^EXTRAVERSION = //p' 
$(LINUX_DIR)/Makefile); \
+       [ -r $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION ] && \
+         cp $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION 
$(LINUX_DIR)/.config \
          || cp $(LINUX_DIR)/arch/xen/defconfig-$(EXTRAVERSION) \
                $(LINUX_DIR)/.config
        make -C $(LINUX_DIR) ARCH=xen oldconfig
diff -Nru a/buildconfigs/mk.linux-2.4-xenU b/buildconfigs/mk.linux-2.4-xenU
--- a/buildconfigs/mk.linux-2.4-xenU    2005-05-12 12:05:06 -04:00
+++ b/buildconfigs/mk.linux-2.4-xenU    2005-05-12 12:05:06 -04:00
@@ -5,9 +5,7 @@
 
 EXTRAVERSION = xenU
 
-FULLVERSION  = $(LINUX_VER)-$(EXTRAVERSION)
-
-LINUX_DIR    = $(OS)-$(FULLVERSION)
+LINUX_DIR    = $(OS)-$(LINUX_VER)-$(EXTRAVERSION)
 
 include buildconfigs/Rules.mk
 
@@ -32,8 +30,9 @@
          sed -e 's/^EXTRAVERSION.*/&-$(EXTRAVERSION)/' Makefile >Mk.tmp ; \
          rm -f Makefile ; mv Mk.tmp Makefile )
        # Re-use config from install dir if one exits else use default config
-       [ -r $(DESTDIR)/boot/config-$(FULLVERSION) ] && \
-         cp $(DESTDIR)/boot/config-$(FULLVERSION) $(LINUX_DIR)/.config \
+       CONFIG_VERSION=$$(sed -ne 's/^EXTRAVERSION = //p' 
$(LINUX_DIR)/Makefile); \
+       [ -r $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION ] && \
+         cp $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION 
$(LINUX_DIR)/.config \
          || cp $(LINUX_DIR)/arch/xen/defconfig-$(EXTRAVERSION) \
                $(LINUX_DIR)/.config
        make -C $(LINUX_DIR) ARCH=xen oldconfig
diff -Nru a/buildconfigs/mk.linux-2.6-xen0 b/buildconfigs/mk.linux-2.6-xen0
--- a/buildconfigs/mk.linux-2.6-xen0    2005-05-12 12:05:06 -04:00
+++ b/buildconfigs/mk.linux-2.6-xen0    2005-05-12 12:05:06 -04:00
@@ -5,9 +5,7 @@
 
 EXTRAVERSION = xen0
 
-FULLVERSION  = $(LINUX_VER)-$(EXTRAVERSION)
-
-LINUX_DIR    = $(OS)-$(FULLVERSION)
+LINUX_DIR    = $(OS)-$(LINUX_VER)-$(EXTRAVERSION)
 
 include buildconfigs/Rules.mk
 
@@ -32,8 +30,9 @@
          sed -e 's/^EXTRAVERSION.*/&-$(EXTRAVERSION)/' Makefile >Mk.tmp ; \
          rm -f Makefile ; mv Mk.tmp Makefile )
        # Re-use config from install dir if one exits else use default config
-       [ -r $(DESTDIR)/boot/config-$(FULLVERSION) ] && \
-         cp $(DESTDIR)/boot/config-$(FULLVERSION) $(LINUX_DIR)/.config \
+       CONFIG_VERSION=$$(sed -ne 's/^EXTRAVERSION = //p' 
$(LINUX_DIR)/Makefile); \
+       [ -r $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION ] && \
+         cp $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION 
$(LINUX_DIR)/.config \
          || cp $(LINUX_DIR)/arch/xen/configs/$(EXTRAVERSION)_defconfig \
                $(LINUX_DIR)/.config
        $(MAKE) -C $(LINUX_DIR) ARCH=xen oldconfig
diff -Nru a/buildconfigs/mk.linux-2.6-xenU b/buildconfigs/mk.linux-2.6-xenU
--- a/buildconfigs/mk.linux-2.6-xenU    2005-05-12 12:05:06 -04:00
+++ b/buildconfigs/mk.linux-2.6-xenU    2005-05-12 12:05:06 -04:00
@@ -5,9 +5,7 @@
 
 EXTRAVERSION = xenU
 
-FULLVERSION  = $(LINUX_VER)-$(EXTRAVERSION)
-
-LINUX_DIR    = $(OS)-$(FULLVERSION)
+LINUX_DIR    = $(OS)-$(LINUX_VER)-$(EXTRAVERSION)
 
 include buildconfigs/Rules.mk
 
@@ -32,8 +30,9 @@
          sed -e 's/^EXTRAVERSION.*/&-$(EXTRAVERSION)/' Makefile >Mk.tmp ; \
          rm -f Makefile ; mv Mk.tmp Makefile )
        # Re-use config from install dir if one exits else use default config
-       [ -r $(DESTDIR)/boot/config-$(FULLVERSION) ] && \
-         cp $(DESTDIR)/boot/config-$(FULLVERSION) $(LINUX_DIR)/.config \
+       CONFIG_VERSION=$$(sed -ne 's/^EXTRAVERSION = //p' 
$(LINUX_DIR)/Makefile); \
+       [ -r $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION ] && \
+         cp $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION 
$(LINUX_DIR)/.config \
          || cp $(LINUX_DIR)/arch/xen/configs/$(EXTRAVERSION)_defconfig \
                $(LINUX_DIR)/.config
        $(MAKE) -C $(LINUX_DIR) ARCH=xen oldconfig

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

<Prev in Thread] Current Thread [Next in Thread>