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] Re: Kernel module compilation

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-<whatever>_x86_32 modules

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel