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

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

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: xen Makefile being nasty with EXTRAVERSION
From: Nuutti Kotivuori <naked@xxxxxx>
Date: Sat, 23 Oct 2004 16:26:03 +0300
Cache-post-path: aka.i.naked.iki.fi!unknown@xxxxxxxxxxxxxxxxxx
Cancel-lock: sha1:/s9zKXwSPl0AmAHPvoiHZprFuiE=
Delivery-date: Sat, 23 Oct 2004 14:27:37 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
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>
Organization: Ye 'Ol Disorganized NNTPCache groupie
References: <E1CLJh0-0001LB-00@xxxxxxxxxxxxxxxxx> <E1CLJrQ-0001SE-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)
Ian Pratt wrote:
> That's going to be a pain to remember to set XENVERSION on the
> command line if we're building directly within the kernel
> directory, which people do all the time (e.g. after changing the
> config on a kernel). I think 'baking' the extraversion into the
> tree via a .extraversion file is the best soloution.

Keir Fraser wrote:
> 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. :-)

Um, I haven't ever really looked into 'make world' so I don't know
what it is that really requires all this.

But, is there something wrong with using the normal kernel facilities
for this thing?

The default behaviour is that EXTRAVERSION on the command-line
overrides '.extraversion'.

So create the .extraversion file in the directories where you wish to
allow the user to rebuild from the command-line - and just pass
EXTRAVERSION on the make invocation line for builds where you do not
need it.

I am probably missing something, but I don't see the reason for
XENVERSION at all?

(And for a distribution, xen0 and xenU kernels are probably already
very well separated, so that extraversion is not needed for them - for
example, this Debian package I created is named:

  kernel-xen0-2.6.8-shiro-1

when EXTRAVERSION was -shiro-1 and I compiled a domain 0 kernel.)

-- Naked



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