From owner-freebsd-questions@FreeBSD.ORG Sun May 18 07:50:16 2008 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 DE7BF10656CB for ; Sun, 18 May 2008 07:50:16 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C2F478FC13 for ; Sun, 18 May 2008 07:50:15 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m4I7o5A8034356; Sun, 18 May 2008 09:50:05 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m4I7nxiL034353; Sun, 18 May 2008 09:50:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 18 May 2008 09:49:59 +0200 (CEST) From: Wojciech Puchar To: Luke Dean In-Reply-To: <20080517172701.F93636@border.lukas.is-a-geek.org> Message-ID: <20080518094922.S34350@wojtek.tensor.gdynia.pl> References: <20080517172701.F93636@border.lukas.is-a-geek.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Stop building all those kernel modules 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: Sun, 18 May 2008 07:50:17 -0000 > I'm trying to use nanobsd to build a small kernel for an embedded system on > FreeBSD 7. > > In previous versions, I could modify GENERIC by just commenting out all the > devices and options that I wasn't interested in, and buildkernel > KERNCONF=myconf would happily ignore all the things I wasn't interested in. > > This no longer works. Now everything gets built, even things that are > broken/incompatible with other options I've chosen. > > I've tried setting NO_MODULES=YES, but the modules were still built. > I see documentation for WITHOUT_MODULES, but it wants me to list every module > I don't want to build? Come on! There must be a better way... > _______________________________________________ in kernel config put makeoptions MODULES_OVERRIDE="" or makeoptions NO_MODULES=yes