Lev Serebryakov <l...@freebsd.org> wrote:
 >   I'm trying to build very small FreeBSD installation (8.1-STABLE) and
 >   trying  to  use  WITHOUT_MOUDLES="list" on buildkernel stage. But it
 >   builds all modules anyway.

No, it doesn't.  WITHOUT_MODULES (note spelling) works fine.

 > % cd /usr/src/sys/modules
 > %make -V SUBDIR | grep -l 3dfx
 > (standard input)
 > %make WITHOUT_MODULES=3dfx -V SUBDIR | grep -l 3dfx
 > (standard input)
 > %
 > 
 >   What do I do wrong?

You use the -l option of grep, which hides the actual match.
Note that there are actually _two_ modules containing the
string "3dfx":  3dfx itself and 3dfx_linux.  So even when
you exclude the 3dfx module, the other one will still be
included and trigger the grep output.

The following will make it clearer:

$ cd /usr/src/sys/modules
$ make -V SUBDIR | tr ' ' '\n' | grep 3dfx
3dfx
3dfx_linux
$ make WITHOUT_MODULES=3dfx -V SUBDIR | tr ' ' '\n' | grep 3dfx
3dfx_linux
$ 

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Being really good at C++ is like being really good
at using rocks to sharpen sticks."
        -- Thant Tessman
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to