Setting up NFS client

Gilles Espinasse g.esp at free.fr
Sun Apr 19 09:40:55 UTC 2009


----- Original Message ----- 
From: "Michael Abbott" <michael at araneidae.co.uk>
To: "Mike Frysinger" <vapier at gentoo.org>
Cc: <busybox at busybox.net>
Sent: Sunday, April 19, 2009 11:08 AM
Subject: Re: Setting up NFS client


>
> P.S.  Anybody here know how to build out of tree kernel modules so that
> the built files are in their own "out of tree" directory?  Two quite
> different uses of the term "out of tree" here, and necessarily four
> separate directories: 1. kernel sources; 2. kernel build directory; 3.
> module sources; 4. module build directory.  Unfortunately I haven't found
> any way to avoid (3)==(4).

It depend of the module Makefile you build against
You usually need to indicate where the kernel sources, especially when the
kernel version running is not the same as the kernel version you build. If
it's the same version, usually Makefile find it at
/usr/src/linux-$(uname -r)

For openswan for example, when running kernel is not the same as kernel
build, you have to, inside openswan package directory run
make KERNELSRC=/usr/src/linux-$(KVER) module

Usually out of tree modules are installed in /lib/modules/<KVER>/extra

    Gilles



More information about the busybox mailing list