From owner-freebsd-questions@FreeBSD.ORG Fri Nov 25 04:47:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD238106566B for ; Fri, 25 Nov 2011 04:47:06 +0000 (UTC) (envelope-from mueller6727@bellsouth.net) Received: from fmailhost05.isp.att.net (fmailhost05.isp.att.net [207.115.11.55]) by mx1.freebsd.org (Postfix) with ESMTP id 9BFB38FC12 for ; Fri, 25 Nov 2011 04:47:06 +0000 (UTC) Date: Fri, 25 Nov 2011 04:47:06 +0000 (GMT) X-Comment: Sending client does not conform to RFC822 minimum requirements X-Comment: Date has been added by Maillennium Received: from localhost (adsl-68-210-130-165.sdf.bellsouth.net[68.210.130.165]) by isp.att.net (frfwmhc05) with SMTP id <20111125044705H0500dukdhe>; Fri, 25 Nov 2011 04:47:05 +0000 X-Originating-IP: [68.210.130.165] From: "Thomas Mueller" To: freebsd-questions@FreeBSD.org References: Message-Id: <20111125044706.AD238106566B@hub.freebsd.org> Cc: "b. f." Subject: Re: Quick build of stripped-down kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 04:47:06 -0000 from "b. f." : > If you are going to build most of the modules, but only want to > exclude a few, then add the directories of the modules to be excluded > (relative to /usr/src/sys/modules) to WITHOUT_MODULES, for example in > /etc/make.conf. If you are only going to build a few modules, and want > to exclude the majority of the modules, then add the directories of > the modules that are to be built to MODULES_OVERRIDE. For no modules > at all, set NO_MODULES. See /usr/src/sys/modules/Makefile and > /usr/src/sys/conf/kern.post.mk for details. You may also save some > time by using one of your faster machines to build the OS for the > slower machines. Suppose you want to build more than one kernel so as to be able to choose at boot time. Then you might not want to build modules redundantly. So how would you make the modules from /boot/kernel accessible when booting /boot/kernel2? Tom