[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] removing XEN_LOCALVERSION for a smaller alternative



# HG changeset patch
# User vh249@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 2c2c0b843f05083bf229286680d4adbb38d622a0
# Parent  3feb7fa331edc8f1f49223027bbde9ae695c4d38
removing XEN_LOCALVERSION for a smaller alternative

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r 3feb7fa331ed -r 2c2c0b843f05 Makefile
--- a/Makefile  Sun Sep 11 16:44:23 2005
+++ b/Makefile  Mon Sep 12 10:54:30 2005
@@ -10,7 +10,6 @@
 INSTALL_DIR    := $(INSTALL) -d -m0755
 INSTALL_DATA   := $(INSTALL) -m0644
 INSTALL_PROG   := $(INSTALL) -m0755
-XEN_LOCALVERSION:=
 
 KERNELS ?= linux-2.6-xen0 linux-2.6-xenU
 # linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU
@@ -19,7 +18,6 @@
 XKERNELS := $(foreach kernel, $(KERNELS), $(patsubst 
buildconfigs/mk.%,%,$(wildcard buildconfigs/mk.$(kernel))) )
 
 export DESTDIR
-export XEN_LOCALVERSION
 
 # Export target architecture overrides to Xen and Linux sub-trees.
 ifneq ($(XEN_TARGET_ARCH),)
diff -r 3feb7fa331ed -r 2c2c0b843f05 buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen     Sun Sep 11 16:44:23 2005
+++ b/buildconfigs/mk.linux-2.6-xen     Mon Sep 12 10:54:30 2005
@@ -7,7 +7,6 @@
 EXTRAVERSION = xen
 
 LINUX_DIR    = $(OS)-$(LINUX_VER)-$(EXTRAVERSION)
-LOCALSTR     = CONFIG_LOCALVERSION=$(XEN_LOCALVERSION)
 
 include buildconfigs/Rules.mk
 
@@ -16,10 +15,10 @@
 # The real action starts here!
 build: $(LINUX_DIR)/include/linux/autoconf.h
        if grep "^CONFIG_MODULES=" $(LINUX_DIR)/.config ; then \
-           $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen modules ; \
-           $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen 
INSTALL_MOD_PATH=$(DESTDIR) modules_install ; \
+           $(MAKE) -C $(LINUX_DIR) ARCH=xen modules ; \
+           $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(DESTDIR) 
modules_install ; \
        fi
-       $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(DESTDIR) 
install
+       $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(DESTDIR) install
 
 $(LINUX_DIR)/include/linux/autoconf.h: ref-$(OS)-$(LINUX_VER)/.valid-ref
        rm -rf $(LINUX_DIR)
diff -r 3feb7fa331ed -r 2c2c0b843f05 buildconfigs/mk.linux-2.6-xen0
--- a/buildconfigs/mk.linux-2.6-xen0    Sun Sep 11 16:44:23 2005
+++ b/buildconfigs/mk.linux-2.6-xen0    Mon Sep 12 10:54:30 2005
@@ -7,7 +7,6 @@
 EXTRAVERSION = xen0
 
 LINUX_DIR    = $(OS)-$(LINUX_VER)-$(EXTRAVERSION)
-LOCALSTR     = CONFIG_LOCALVERSION=$(XEN_LOCALVERSION)
 
 include buildconfigs/Rules.mk
 
@@ -16,10 +15,10 @@
 # The real action starts here!
 build: $(LINUX_DIR)/include/linux/autoconf.h
        if grep "^CONFIG_MODULES=" $(LINUX_DIR)/.config ; then \
-           $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen modules ; \
-           $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen 
INSTALL_MOD_PATH=$(DESTDIR) modules_install ; \
+           $(MAKE) -C $(LINUX_DIR) ARCH=xen modules ; \
+           $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(DESTDIR) 
modules_install ; \
        fi
-       $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(DESTDIR) 
install
+       $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(DESTDIR) install
 
 $(LINUX_DIR)/include/linux/autoconf.h: ref-$(OS)-$(LINUX_VER)/.valid-ref
        rm -rf $(LINUX_DIR)
diff -r 3feb7fa331ed -r 2c2c0b843f05 buildconfigs/mk.linux-2.6-xenU
--- a/buildconfigs/mk.linux-2.6-xenU    Sun Sep 11 16:44:23 2005
+++ b/buildconfigs/mk.linux-2.6-xenU    Mon Sep 12 10:54:30 2005
@@ -7,7 +7,6 @@
 EXTRAVERSION = xenU
 
 LINUX_DIR    = $(OS)-$(LINUX_VER)-$(EXTRAVERSION)
-LOCALSTR     = CONFIG_LOCALVERSION=$(XEN_LOCALVERSION)
 
 include buildconfigs/Rules.mk
 
@@ -16,10 +15,10 @@
 # The real action starts here!
 build: $(LINUX_DIR)/include/linux/autoconf.h
        if grep "^CONFIG_MODULES=" $(LINUX_DIR)/.config ; then \
-           $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen modules ; \
-           $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen 
INSTALL_MOD_PATH=$(DESTDIR) modules_install ; \
+           $(MAKE) -C $(LINUX_DIR) ARCH=xen modules ; \
+           $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(DESTDIR) 
modules_install ; \
        fi
-       $(MAKE) $(LOCALSTR) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(DESTDIR) 
install
+       $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(DESTDIR) install
 
 $(LINUX_DIR)/include/linux/autoconf.h: ref-$(OS)-$(LINUX_VER)/.valid-ref
        rm -rf $(LINUX_DIR)
diff -r 3feb7fa331ed -r 2c2c0b843f05 xen/Makefile
--- a/xen/Makefile      Sun Sep 11 16:44:23 2005
+++ b/xen/Makefile      Mon Sep 12 10:54:30 2005
@@ -11,8 +11,7 @@
 export XEN_VERSION       = 3
 export XEN_SUBVERSION    = 0
 export XEN_EXTRAVERSION  = -devel
-export XEN_LOCALVERSION  =
-export XEN_FULLVERSION   = 
$(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)$(XEN_LOCALVERSION)
+export XEN_FULLVERSION   = $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)
 
 export BASEDIR          := $(CURDIR)
 
@@ -33,7 +32,6 @@
 install: $(TARGET).gz
        [ -d $(DESTDIR)/boot ] || $(INSTALL_DIR) $(DESTDIR)/boot
        $(INSTALL_DATA) $(TARGET).gz $(DESTDIR)/boot/$(notdir 
$(TARGET))-$(XEN_FULLVERSION).gz
-       ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz 
$(DESTDIR)/boot/$(notdir 
$(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_LOCALVERSION).gz
        ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz 
$(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION).gz
        ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz 
$(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).gz
        ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz 
$(DESTDIR)/boot/$(notdir $(TARGET)).gz

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.