From: Jayson Vantuyl Subject: Re: Building Modules Against Xen Sources Date: Sun, 29 Apr 2007 06:22:35 -0500 Message-ID: <55CFAC41-FA7A-4E5C-8327-F70555998094@engineyard.com> References: Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: multipart/mixed; boundary="===============1400199774==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jayson Vantuyl Cc: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1400199774== Content-Type: multipart/alternative; boundary=Apple-Mail-8--177423711 --Apple-Mail-8--177423711 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Ooops, accidentally hit send too early. Let me try this again: I changed the line in buildconfigs/mk.linux-2.6-xen that read: LINUX_SRCDIR = linux-$(LINUX_VER)-xen To: LINUX_SRCDIR = linux-$(LINUX_VER)-$(EXTRAVERSION) Rest of e-mail still applies. On Apr 29, 2007, at 3:54 AM, Jayson Vantuyl 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. > > I was able to get kernel source directories by adjusting > buildconfigs/mk.linux-2.6-xen. I changed the line that read: > > LINUXSRC_DIR=.... > > to: > > LINU > > This still requires me to build my kernels a second time to get a > good build directory. Is there a better way to do this? Can we > make this easier? > > -- > Jayson Vantuyl > Systems Architect > Engine Yard > jvantuyl@engineyard.com > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel -- Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com --Apple-Mail-8--177423711 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Ooops, accidentally hit send too = early.=A0 Let me try this again:

I changed the line in = buildconfigs/mk.linux-2.6-xen that read:

LINUX_SRCDIR =3D = linux-$(LINUX_VER)-xen

To:

LINUX_SRCDIR =3D = linux-$(LINUX_VER)-$(EXTRAVERSION)

Rest of e-mail still = applies.

On Apr 29, 2007, at 3:54 AM, Jayson = Vantuyl 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.=A0 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.=A0 Apparently there is some sort of = build-.... directory where things happen now.

This is a problem.=A0 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.

I was = able to get kernel source directories by adjusting = buildconfigs/mk.linux-2.6-xen.=A0 I changed the line that = read:

LINUXSRC_DIR=3D....

to:

LINU

This still requires me to = build my kernels a second time to get a good build directory.=A0 Is = there a better way to do this?=A0 Can we make this = easier?

Xen-devel mailing list



Systems = Architect

=
= --Apple-Mail-8--177423711-- --===============1400199774== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1400199774==--