ia64/xen-unstable

changeset 13330:1e7bbecdc0a2

[linux build] Append $XENGUEST to kernel version.
This was lost in changeset 13286:c89384734c19.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author Christian Limpach <Christian.Limpach@xensource.com>
date Mon Jan 08 17:38:47 2007 +0000 (2007-01-08)
parents dbb387175f1b
children 8a99ebc5f5a4
files buildconfigs/mk.linux-2.6-xen
line diff
     1.1 --- a/buildconfigs/mk.linux-2.6-xen	Mon Jan 08 16:27:35 2007 +0000
     1.2 +++ b/buildconfigs/mk.linux-2.6-xen	Mon Jan 08 17:38:47 2007 +0000
     1.3 @@ -32,7 +32,8 @@ build: $(LINUX_DIR)/include/linux/autoco
     1.4            LINUX_ARCH=$(LINUX_ARCH) bash ./mkbuildtree ../$(LINUX_SRCDIR) )
     1.5  	# Patch kernel Makefile to set EXTRAVERSION
     1.6  	( cd $(LINUX_SRCDIR) ; \
     1.7 -	  sed -e 's,^EXTRAVERSION.*,&$$(XENGUEST)\nXENGUEST := $$(shell [ -r $$(objtree)/.xenguest ] \&\& cat $$(objtree)/.xenguest),' Makefile >Mk.tmp ; \
     1.8 +	  sed -e 's,^EXTRAVERSION.*,&$$(XENGUEST),' \
     1.9 +	      -e 's,^KERNELRELEASE,XENGUEST := $$(shell [ -r $$(objtree)/.xenguest ] \&\& cat $$(objtree)/.xenguest)\n&,' Makefile >Mk.tmp ; \
    1.10  	  rm -f Makefile ; mv Mk.tmp Makefile )
    1.11  	touch $@
    1.12