Date: Wed, 23 Apr 2008 16:28:06 -0600 From: darren kirby <bulliver@badcomputer.org> To: freebsd-questions@freebsd.org Subject: Build a single kernel module? Message-ID: <200804231628.06289.bulliver@badcomputer.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804231628.06289.bulliver>