From owner-freebsd-arch Sun Mar 25 2:16:10 2001 Delivered-To: freebsd-arch@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 3186937B718 for ; Sun, 25 Mar 2001 02:16:07 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 2384 invoked by uid 1000); 25 Mar 2001 10:15:08 -0000 Date: Sun, 25 Mar 2001 13:15:08 +0300 From: Peter Pentchev To: Maxime Henrion Cc: arch@FreeBSD.org Subject: Re: Building only a specified list of kernel modules Message-ID: <20010325131508.B472@ringworld.oblivion.bg> Mail-Followup-To: Maxime Henrion , arch@FreeBSD.org References: <20010324211140.C4304@ringworld.oblivion.bg> <20010324205005.D777@nebula.cybercable.fr> <20010325101657.A36335@ringworld.oblivion.bg> <20010325120046.F777@nebula.cybercable.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010325120046.F777@nebula.cybercable.fr>; from mux@qualys.com on Sun, Mar 25, 2001 at 12:00:46PM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 25, 2001 at 12:00:46PM +0200, Maxime Henrion wrote: > Peter Pentchev wrote: > > Yeah, blame it all on newfangled means of communication :P > > > > With all due respect, I think my patch would work better in the case > > when one wants to disable all modules except for a select few; yours > > would include a whole lot of NO_KMOD_*, which, given the sheer number > > of buildable modules (which is a good thing), would sum up to more than > > half of /etc/make.conf ;) > > > > G'luck, > > Peter > > My point is that more often we want to disable some modules and not > specify a list of modules which would be scary for beginners and would > lead to errors. I wonder if the two could be combined... First set SUBDIR's to values determined from MODULES_LIST's, and then do a for loop through the final SUBDIR value, checking for a NO_KMOD_xxx.. But maybe that would be too complicated an interface for something that is going away soon, if committed at all :( G'luck, Peter -- This sentence contradicts itself - or rather - well, no, actually it doesn't! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message