Compiling modules statically

Gary Jennejohn garyj at
Tue Sep 13 01:05:39 PDT 2005

Joseph Koshy writes:
> theblues> the driver statically. When I follow the instructions=20
> theblues> on building a custom kernel the vge driver gets built=20
> theblues> as a module.
> Modules will get built even if the relevant driver is already
> statically linked into the kernel.  No-one has got around to
> integrating config(8) with the kernel module build system.

Of course, one can specify which modules to build using ``makeoptions
MODULES_OVERRIDE''. I build only linux, linprocfs, msdosfs, pseudofs,
netgraph/ether and geom/geom_concat as modules.

Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde

More information about the freebsd-amd64 mailing list