Date: Wed, 18 Nov 2009 01:52:30 GMT From: Ben Kelly <ben@wanderview.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/140649: bad WITHOUT_MODULES example in handbook Message-ID: <200911180152.nAI1qULT042968@www.freebsd.org> Resent-Message-ID: <200911180200.nAI202jj061833@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140649 >Category: docs >Synopsis: bad WITHOUT_MODULES example in handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 18 02:00:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ben Kelly >Release: CURRENT >Organization: >Environment: FreeBSD ianto.in.wanderview.com 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r254M: Fri Nov 13 23:26:25 UTC 2009 root@ianto.in.wanderview.com:/usr/obj/usr/src/sys/SERVER i386 >Description: The handbook currently incorrectly suggests you can specify module subdirectories in WITHOUT_MODULES. See the second tip on this page: http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html 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. >How-To-Repeat: Add the following to your /etc/make.conf: WITHOUT_MODULES=sound/driver/emu10k1 Build the kernel and see the emu10k1 module get built anyway. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911180152.nAI1qULT042968>