From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 26 18:31:49 2006 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.org Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1363316A409 for ; Wed, 26 Apr 2006 18:31:49 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E62CA43D48 for ; Wed, 26 Apr 2006 18:31:44 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 1E6301A4E60; Wed, 26 Apr 2006 11:31:44 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3603E55BED; Wed, 26 Apr 2006 14:31:43 -0400 (EDT) Date: Wed, 26 Apr 2006 14:31:42 -0400 From: Kris Kennaway To: "Andrey V. Elsukov" Message-ID: <20060426183142.GB43536@xor.obsecurity.org> References: <200604260810.k3Q8ALDC029566@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604260810.k3Q8ALDC029566@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/96346: [PATCH] disable build of modules that are already in kernel image X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 18:31:49 -0000 On Wed, Apr 26, 2006 at 08:10:21AM +0000, Andrey V. Elsukov wrote: > The following reply was made to PR kern/96346; it has been noted by GNATS. > > From: "Andrey V. Elsukov" > To: Robert Millan > Cc: FreeBSD-gnats-submit@FreeBSD.org > Subject: Re: kern/96346: [PATCH] disable build of modules that are already > in kernel image > Date: Wed, 26 Apr 2006 12:08:23 +0400 > > Robert Millan wrote: > > I don't understand. Does -DNO_MODULES disable all modules, or just those that > > are already built in kernel? > > No, NO_MODULES is a make option, that can made a kernel build much > faster. And command `make buildkernel reinstallkernel -DNO_MODULES > KERNCONF=SOMEKERNEL' can be used for the fast kernel reinstallation. > You can remove some options from kernel and rebuild and reinstall it > without building modules. With your patch you will lost some modules in > this case. > But i think that your option WITHOUT_MODULES can be usable for build of > some smallest systems based on FreeBSD. There is also "MODULES_OVERRIDE" which is a list of modules to build with your kernel. Kris