Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 04:47:06 +0000 (GMT)
From:      "Thomas Mueller" <mueller6727@bellsouth.net>
To:        freebsd-questions@FreeBSD.org
Cc:        "b. f." <bf1783@googlemail.com>
Subject:   Re: Quick build of stripped-down kernel
Message-ID:  <20111125044706.AD238106566B@hub.freebsd.org>
References:  <CAGFTUwP-SRSq22QbqZC42sDgocwsxEU6d-A-TAATkBn4KirxOA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
from "b. f." <bf1783@googlemail.com>:

> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111125044706.AD238106566B>