From owner-freebsd-arch Sat Mar 24 13:52:37 2001 Delivered-To: freebsd-arch@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id 4C60637B71E for ; Sat, 24 Mar 2001 13:52:26 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@dhcp152.geekhouse.net [192.168.1.152]) by moby.geekhouse.net (8.11.3/8.11.3) with ESMTP id f2OLqcj18825; Sat, 24 Mar 2001 13:52:40 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010324211140.C4304@ringworld.oblivion.bg> Date: Sat, 24 Mar 2001 13:51:54 -0800 (PST) From: John Baldwin To: Peter Pentchev Subject: RE: Building only a specified list of kernel modules Cc: arch@FreeBSD.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24-Mar-01 Peter Pentchev wrote: > Hi, > > Any severe objections to the attached patch? (and no, I still have not > taken the time to put my ICBM address into freebsd.committers.markers, > so any objections will have to be in the form of e-mail ;) > > Something similar could be added for the sound/, netgraph/, et al > multi-tiered subdirs. Could try this in a followup patch tomorrow, > need sleep right now :( > > G'luck, > Peter Peter Wemm has a much more flexible plan involving config(8) to solve this. Instead of specifying the modules in a global sense, you would list the modules you want to build in your kernel config file. Then they would be built in the same environment (same options, etc.) as the kernel. This allows you to build modules with INVARIANTS, etc. or MD optimizations more easily. It will also cut down on compile time as the modules will be built in sys/compile/FOO using the same .o files as the kernel if ones are shared. This will also probably obsolete all of the src/sys/modules hierarchy, but I'm sure Peter can provide more details if you want them. :) -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message