Build a single kernel module?



Hi all,

I recently built a custom kernel for my new FreeBSD 7.0-RELEASE system, and it
is working well. Sadly, I had to purchase and swap out a nic on this machine
today. The new card is a D-link DGE-530T which shall work with the 'sk'
driver. My custom kernel does not have this driver.

I wonder if I can build this single driver as a module to use with my already
built custom kernel. The handbook mentions using MODULES_OVERRIDE: "If you
want to update a kernel faster or to build only custom modules, you should
edit /etc/make.conf before starting to build the kernel"

So as I understand it, if I add "MODULES_OVERRIDE = sk" to make.conf then it
will build only the sk module? The page [0] is light on details so I am
unsure hoe to proceed with this, ie: I just do a normal 'make installkernel'
or some other way?

Also, I did look around, but if there are some docs that speak more clearly to
this issue a pointer would be great.

Thanks for consideration,
-d

[0]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • 5.2-RC2 customize questions
    ... it seems alot of startup was moved to /etc/rc.d...thats cool, but I dont ... I built a custom kernel and chose to incorporate 'hints' within the ... kernel and that seems to work, but I noticed alot of modules still get ...
    (freebsd-questions)
  • Re: PF IPv6/icmp6/inet6 vulnerabilities continue.
    ... Naw, you haven't yet built a custom kernel without IPv6, because then ...
    (comp.unix.bsd.openbsd.misc)
  • Re: 19.5 hours to build KDE... kernel at fault?
    ... This is alarming because I built and ... > installed a custom kernel, thinking this would speed things up. ... > exotic-sounding errors from the KDE init process, ... > was already detected and present in dmesg. ...
    (comp.unix.bsd.freebsd.misc)
  • dmesg wrong kernel name
    ... I just installed and upgrade my new freebsd system. ... As the handbook says, I built and installed a new custom kernel. ...
    (freebsd-questions)
  • 2.6.9-prep ?
    ... followed the release notes and built a new custom kernel -- ... IEEE Consulting ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)