From: Kieran Mansley Subject: Re: Re: Kernel module compilation Date: Thu, 05 Apr 2007 10:32:29 +0100 Message-ID: <1175765549.4124.6.camel@moonstone.uk.level5networks.com> References: <280848580703290454o407cf95amdad3741d7bf358e@mail.gmail.com> <280848580704040911h4a803038j5dbad2c0d6ca1e09@mail.gmail.com> <1175703640.25237.354.camel@localhost.localdomain> <280848580704041107m7bdf0a64r6f3d77923822bc23@mail.gmail.com> <1175710418.8760.4.camel@cthulhu.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1175710418.8760.4.camel@cthulhu.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, 2007-04-04 at 19:13 +0100, Ian Campbell wrote: > On Wed, 2007-04-04 at 21:07 +0300, David Pilger wrote: > > Thanks for your help, > > It didn't work... > > > > This is the error I got -> > > ---- > > Makefile:107: *** output directory > > "../../../build-linux-2.6.18-xen_x86_32/" does not exist. Stop. > > I presume that path does exist. It would only exist if you're building the unified kernel. If you're building separate domU and dom0 kernels you'll have slightly differently named build directories. To just rebuild a couple of modules that I've changed I do: cd /path/to/your/xen-unstable.hg make -C build-linux-_x86_32 modules where should match the kernel you want to build for. This doesn't result in the compiled modules being copied to dist/install/lib/modules/ in the xen-unstable.hg as it would if I'd done a normal "make dist", but copying them over is easy enough with a script. Kieran