From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 09:34:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8302E106566C for ; Tue, 11 Sep 2012 09:34:13 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id B467A8FC0A for ; Tue, 11 Sep 2012 09:34:10 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q8B9XtGe006179 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 11 Sep 2012 10:34:00 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <504F0582.3080703@unsane.co.uk> Date: Tue, 11 Sep 2012 10:33:54 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: Robert Bonomi References: <201209110030.q8B0Ub0G083363@mail.r-bonomi.com> In-Reply-To: <201209110030.q8B0Ub0G083363@mail.r-bonomi.com> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Where are the mechancs of config(8) descibed 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: Tue, 11 Sep 2012 09:34:13 -0000 On 11/09/2012 01:30, Robert Bonomi wrote: > (This is probably a bit techical for 'questions' -- I'd welcome a suggesstion > of a more appopriae forum.) If you dont get any joy, try freebsd-hackers@freebsd.org Vince > Is there a detailed description anywhere of the mechanics of *how* config(8) > does what it doess? > > I'm looking fo the gory detail of how, sayi, 'device bpf' causes the > creation of the file 'opt_bpf.h' containing '#define DEV_BPF 1" > > _Part_ of the magic is the sys/conf/files* and sys/conf/options* files, > but their format/content isn't defined anywhee I've found. > > > rerason for asking -- I want to addd a cutom device driver into the > kernel. I have sources, and can build the .o, if i convert it to > a .ko, it loads and run. *BUT* I want to embed it in the kernel at > build time. > > "Somewhere", I have do define 'device foo', specify that that name > adds 'myfoo_sys.o' to the kernel object-files list, and that > myfoo_sys.o depends on a list of source files, and requires a > particular sequence of commands to build from those shources. > > I know the 'what', just not the 'where' or 'how'. > > Any pointers appreciated. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"