[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Building Modules Against Xen Sources

  • To: Jayson Vantuyl <jvantuyl@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Sun, 29 Apr 2007 10:27:13 +0100
  • Delivery-date: Sun, 29 Apr 2007 02:24:06 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AceKQJGu0Ia30fYzEdufnAAWy6hiGQ==
  • Thread-topic: [Xen-devel] Building Modules Against Xen Sources

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
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.