Re: policy on GPL'd drivers?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Wed, 28 May 2003 07:28:37 -0700
On Wed, May 28, 2003 at 06:40:46PM +0930, Daniel O'Connor wrote:
> On Wed, 28 May 2003 18:39, M. Warner Losh wrote:
> > : > : Maybe the kernel build stuff can look in /usr/local/src/sys/modules
> > : > : for things to build or something..
> > : >
> > : > YUCK!
> > :
> > : *WHY?*
> > :
> > : I have asked this before BTW, and I haven't been told why it sucks.
> >
> > Because there are other, more elegant ways of dealing with these
> > things.  I don't like /usr/local/src anything, which was the main
> > complaint.
> 
> If there are more elegant solutions I would like to know what they are.
> 
> I agree it isn't a great solution, but I can't see what is better.
> 

For GPL modules, put them in src/sys/gnu.  If you don't
want bloat, then use cvsup and a refuse file to not
retrieve the sys/gnu.  See the discussion that occurred
many years ago when maestro3 support was committed to
the tree.

For non-viral licensed code, put it in its proper 
place in the sys/ hierarchy.  Then use a WANT_XXX=yes
knob in the /etc/make.conf to cause XXX to be built.

-- 
Steve
Received on Wed May 28 2003 - 05:28:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC