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] Building Modules Against Xen Sources

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Building Modules Against Xen Sources
From: Jayson Vantuyl <jvantuyl@xxxxxxxxxxxxxx>
Date: Sun, 29 Apr 2007 06:39:33 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 29 Apr 2007 04:38:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C25A2381.6887%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C25A2381.6887%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Mmmmm.  I build some of my stuff currently out of Gentoo.  I supposed I could hack the ebuild, but in general, I don't think there will ever be a substitute for having just a plain kernel tree.  Even if it isn't used by default, would it be possible (not necessarily by 3.0.5) to get a make target to make them?  Pretty please?

On Apr 29, 2007, at 4:27 AM, Keir Fraser wrote:

On 29/4/07 09:54, "Jayson Vantuyl" <jvantuyl@xxxxxxxxxxxxxx> wrote:

I'm currently trying to build modules against the kernels created with Xen 3.0.5rc4.

This used to not be such a problem, as Xen created a kernel directory and the built in it.  Plain Jane, nothing fancy.

I've noticed that somewhere since I did this (which was as recent as 3.0.4-1) the kernel build now does things a bit different.  Apparently there is some sort of build-.... directory where things happen now.

This is a problem.  I build a number of things against these kernels, not the least of which include Coraid's AoE drivers and Redhat's CMAN and DLM stuff.

You should be able to point your external build at the latter and have it just work:
 make –C /path/to/build-linux-... M=$PWD modules

 -- Keir

-- 
Jayson Vantuyl
Systems Architect


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>