Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2012 10:33:54 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        Robert Bonomi <bonomi@mail.r-bonomi.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Where are the mechancs of config(8) descibed
Message-ID:  <504F0582.3080703@unsane.co.uk>
In-Reply-To: <201209110030.q8B0Ub0G083363@mail.r-bonomi.com>
References:  <201209110030.q8B0Ub0G083363@mail.r-bonomi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?504F0582.3080703>