Compiling in sound driver in kernel

Ruben de Groot mail25 at bzerk.org
Sat Jun 13 10:36:51 UTC 2009


On Fri, Jun 12, 2009 at 04:39:19PM +0200, Bernt Hansson typed:
> 
> 
> Polytropon said the following on 2009-06-12 12:54:
> >On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson <bernt at bah.homeip.net> 
> >wrote:
> >>Mel Flynn said the following on 2009-06-12 01:23:
> >>>>FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009
> >>>>    root at fqdn:/usr/obj/usr/src/sys/GENERIC
> >>>                                     ^^^^^^^
> >>>Did you edit GENERIC
> >>Yes. Added sound and snd_hda
> >
> >Polite note: This is NOT the way to create a custom kernel. The
> >handbook mentions that it's advised to create a copy of GENERIC
> >and work with that.

The handbook, IMO, is wrong.
The copy of GENERIC will in the course of upgrades deviate from the original one.
You won't pick up improvements, like the scheduler change from 4BSD -> ULE

What I do is include the GENERIC file and override things with nooption/nodevice 
directives.

Ruben


More information about the freebsd-questions mailing list