Andrew Gallatin wrote:
> What I (as a 3rd party driver author working in a GNUish
> autoconf/gnumake environment) do is to require a user building from
> source to specify the location of a configured kernel tree where make
> depend has been run (defaulting to GENERIC).  I then pickup the
> various option and bus files out of that directory.  When I build binary
> modules, I build from source as a normal user (using a 4.1.1 system in
> a chroot).  Using an approach like this, a vendor could ship a MAC
> aware driver by picking up the options files from a MAC kernel build
> directory.

I believe he was talking about modules for which source code
is not available.


> How is one supposed to build a 3rd party module these days?

One is not.  The vendor supplies only a binary.


>  > I think you under-estimate the complexity of variably sized key kernel
>  > data structures.  mbuf.h is included all over the kernel, as well as in
>  > many user applications (although often for bogus reasons).  My proposed
>  > strategy is the following:
> 
> Bizzare.  I had no idea userland apps used mbuf.h.  That does indeed
> sound bogus.

On the contrary: it's a very clever thing to do.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to