From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 08:00:42 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABCC337B408 for ; Thu, 14 Aug 2003 08:00:42 -0700 (PDT) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E0D243FB1 for ; Thu, 14 Aug 2003 08:00:41 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9496 invoked from network); 14 Aug 2003 15:00:40 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 14 Aug 2003 15:00:40 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h7EF0c9s065282; Thu, 14 Aug 2003 11:00:38 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030814100248.GB88037@sunbay.com> Date: Thu, 14 Aug 2003 11:01:00 -0400 (EDT) From: John Baldwin To: Ruslan Ermilov cc: Luoqi Chen cc: current@freebsd.org Subject: RE: Change to kernel+modules build approach X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 15:00:43 -0000 On 14-Aug-2003 Ruslan Ermilov wrote: > On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote: >> Luoqi Chen wrote: > [...] >> >On the other hand, all modules should create all the opt_*.h files >> >it needs when built individually. Add opt_ddb.h to nullfs's Makefile >> >should fix the breakage. >> > >> Our kernel build system isn't set up to handle passing config options >> to modules. Various solutions to this have been proposed, but nothing >> has appeared yet. In 5.x, we document that modules will not work with >> PAE. >> > How does the below look? This is basically a more generic implementation > of Luoqi's idea, but for -CURRENT: I would prefer something far more radical that would involve moving all the module metadata to sys/conf (i.e. removing sys/modules) and building all the modules based on a single kernel config file. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/