From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 03:33:04 2004 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 C1BD816A4CE for ; Thu, 24 Jun 2004 03:33:04 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B06B443D1D for ; Thu, 24 Jun 2004 03:33:04 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id A55F872DF2; Wed, 23 Jun 2004 20:33:04 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id A0C4772DB5; Wed, 23 Jun 2004 20:33:04 -0700 (PDT) Date: Wed, 23 Jun 2004 20:33:04 -0700 (PDT) From: Doug White To: Joerg Wallerich In-Reply-To: <20040623082114.GA35666@net.in.tum.de> Message-ID: <20040623203113.P92305@carver.gumbysoft.com> References: <20040623082114.GA35666@net.in.tum.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: opt_global.h for kernel modules 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, 24 Jun 2004 03:33:04 -0000 On Wed, 23 Jun 2004, Joerg Wallerich wrote: > In this case this leads to different behavior of the driver > depending on it being build as KLD or not. > > Is this intentional? Its a limitation of the current build framework. While its obvious what kernel config should be referenced during a normal build, its ambiguous for what to do if built standalone (cd /sys/modules/foo; make && make install). There's an opportunity for someone to do some work here :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org