docs/140649: bad WITHOUT_MODULES example in handbook

Ben Kelly ben at
Wed Nov 18 02:00:10 UTC 2009

>Number:         140649
>Category:       docs
>Synopsis:       bad WITHOUT_MODULES example in handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 18 02:00:01 UTC 2009
>Originator:     Ben Kelly
>Release:        CURRENT
FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r254M: Fri Nov 13 23:26:25 UTC 2009     root at  i386

The handbook currently incorrectly suggests you can specify module subdirectories in WITHOUT_MODULES.  See the second tip on this page:

This is incorrect because the WITHOUT_MODULES logic in /usr/src/sys/modules/Makefile will only exclude items in the original SUBDIRS list.  Only the top level module directories are included in this list.
Add the following to your /etc/make.conf:


Build the kernel and see the emu10k1 module get built anyway.


More information about the freebsd-doc mailing list