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: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 23 Oct 2004 13:22:22 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Nuutti Kotivuori <naked@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 23 Oct 2004 13:23:53 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Sat, 23 Oct 2004 12:44:35 BST." <E1CLKK3-0001qg-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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 
> > What a pain in the arse - another file to keep track of. We'd need to
> > copy an appropriate .extraversion file into each of our build trees
> > anyway. Might as well just have a command-line-overridable switch as I
> > suggested, which defaults to somethign sane like "-xen".
> 
> We can make the config_* target write .extraversion. I really
> don't see how they'd be a problem keeping track of it, and I
> think its better than having to remember to put stuff on the make
> command line.
> 
> If we go with your plan, we'd have to rename our -xen0 kernel to
> -xen, otherwise we'd needlessly confuse people who are
> reconfiguring their kernel.

Hmmm, well we can easily support all options, in descending order of
priority:
 1. XENVERSION specified on command line
 2. Contents of .extraversion file
 3. Default to "-xen"

I'll add this to the Linux Makefiles, but I'll leave the root Makefile
using XENVERSION for now. You can change it to use .extraversion if
you care. :-)

 -- Keir


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel