NetBSD-Users archive

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

Re: install kernel modules



On Mon, Mar 21, 2011 at 09:35:01AM +0100, Riccardo Mottola wrote:
> To build the kernel I used:
> 
> $ ./build.sh -O ../obj -T ../tools kernel=<KERNEL>
> # mv /usr/obj/sys/arch/<ARCH>/compile/<KERNEL>/netbsd /
> 
> but the modules?

One way to install these is:

           cd /usr/src/sys/modules

           export OBJDIR=/usr/obj
           export TOOLDIR=/usr/tools

           make clean
           make
           make install

as noted in module(7); see

http://netbsd.gw.com/cgi-bin/man-cgi?module+7+NetBSD-current

> (found here: http://netbsd.org/docs/updating.html#kernel )

That document seems to be outdated, as usual.

- Jukka.


Home | Main Index | Thread Index | Old Index