From owner-freebsd-questions@FreeBSD.ORG Sun May 18 00:33:07 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 25AEB106567C for ; Sun, 18 May 2008 00:33:07 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from sasl.smtp.pobox.com (a-sasl-fastnet.sasl.smtp.pobox.com [207.106.133.19]) by mx1.freebsd.org (Postfix) with ESMTP id ED6118FC15 for ; Sun, 18 May 2008 00:33:06 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id AFDCA422C for ; Sat, 17 May 2008 20:33:04 -0400 (EDT) Received: from lukas.is-a-geek.org (pool-71-113-78-181.sttlwa.dsl-w.verizon.net [71.113.78.181]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 1FDDD422B for ; Sat, 17 May 2008 20:33:03 -0400 (EDT) Date: Sat, 17 May 2008 17:32:50 -0700 (PDT) From: Luke Dean X-X-Sender: lukas@border.lukas.is-a-geek.org To: freebsd-questions@freebsd.org Message-ID: <20080517172701.F93636@border.lukas.is-a-geek.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Pobox-Relay-ID: FAB551DE-2471-11DD-8BFF-80001473D85F-96347044!a-sasl-fastnet.pobox.com Subject: Stop building all those kernel modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 00:33:07 -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...