From owner-freebsd-hackers Mon Apr 16 3:32:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (diskworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 487BD37B42C for ; Mon, 16 Apr 2001 03:32:31 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 1950 invoked by uid 1000); 16 Apr 2001 10:31:01 -0000 Date: Mon, 16 Apr 2001 13:31:00 +0300 From: Peter Pentchev To: "Vladimir B. Grebenschikov" Cc: freebsd-hackers@freebsd.org Subject: Re: Idea about modules build Message-ID: <20010416133100.A414@ringworld.oblivion.bg> Mail-Followup-To: "Vladimir B. Grebenschikov" , freebsd-hackers@freebsd.org References: <15064.29187.667341.757712@vbook.express.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15064.29187.667341.757712@vbook.express.ru>; from vova@express.ru on Sat, Apr 14, 2001 at 07:51:31PM +0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 14, 2001 at 07:51:31PM +0400, Vladimir B. Grebenschikov wrote: > > I have idea about modules build/install process: > > May be it need to create some makefile variable like KERNEL_MODULES, > that can be defined in /etc/make.conf to limit list of modules > to build/install, it is not very good idea to spend a lot of > CPU time building modules, that never be used ? This was recently discussed on -arch, and was brought into -current by Warner Losch in rev. 1.172 of src/sys/modules/Makefile from 2001/04/02 08:52:05; if there is a MODULES_OVERRIDE variable (defined either in /etc/make.conf or on the 'make' command line), it overrides the list of modules to build. This variable can - and probably should ;) - contain second-level module names, too - e.g. sound/pcm or syscons/daemon. G'luck, Peter -- This sentence would be seven words long if it were six words shorter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message