Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 23:55:47 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Jamie Norwood <mistwolf@mushhaven.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Kernel compilation 
Message-ID:  <200106280555.f5S5tlU00128@harmony.village.org>
In-Reply-To: Your message of "Fri, 15 Jun 2001 10:38:20 EDT." <20010615103820.A94093@mushhaven.net> 
References:  <20010615103820.A94093@mushhaven.net>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010615103820.A94093@mushhaven.net> Jamie Norwood writes:
: Is there a way to get the kernel to NOT build every module under the sun? 
: I prefer my kernels to have in them just what I want them to, not what
: something else decides should be there. Yet every kernel I build makes
: modules for things like USB, Sound, NICs I don't have... This is annoying
: because, for one thing, it slows down compiles immensely. Secondly, it
: is, theoretically, possible that some of these things (USB, for example),
: may actually exist, thus be installed, and if they have a security problem,
: I would be vulnerable with smoething I didn't want in the first place!
: 
: Any suggestions?

Looks like I need to MFC MODULES_OVERRIDE from current to stable.

In stable your only choice is NO_MODULES which turns them all off.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106280555.f5S5tlU00128>