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-devel

Re: [Xen-devel] xen Makefile being nasty with EXTRAVERSION

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen Makefile being nasty with EXTRAVERSION
From: Adam Heath <doogie@xxxxxxxxxx>
Date: Fri, 29 Oct 2004 12:27:53 -0500 (CDT)
Cc: Nuutti Kotivuori <naked@xxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 30 Oct 2004 10:12:37 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1CLJkS-0001NO-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1CLJkS-0001NO-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Sat, 23 Oct 2004, Ian Pratt wrote:

>
> > There is a snippet in the xen Makefile like this:
> >
> >   EXTRAEXTRAVERSION=$(subst $(findstring $(EXTRAVERSION),$(shell basename 
> > $(TOPDIR))),,$(EXTRAVERSION))
> >   override EXTRAVERSION:=$(subst 
> > linux-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL),,$(shell basename 
> > $(TOPDIR)))$(EXTRAEXTRAVERSION)
> >
> > Now, this probably works fine if the basename of the kernel directory
> > is something common. And it is probably perfectly okay to do that in
> > the 'make world' Xen builds. But if Xen is treated like 'just another
> > kernel patch' or if distributions wish to provide Xen kernels, this is
> > a major pain in the ass.
>
> Yeah, I agree, but its very useful.
>
> I propose the following replacement: We test to see whether
> there's a .extraversion file, and if so override EXTRAVERSION
> with the contents of the file. This should be compatible with
> distros and still be convenient for us.

2.6 uses .localversion files.


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel