08.07.2018 4:38, Warner Losh wrote:

> On Sat, Jul 7, 2018, 4:14 PM Eugene Grosbein <eu...@grosbein.net 
> <mailto:eu...@grosbein.net>> wrote:
> 
>     07.07.2018 22:02, Andrew Gallatin wrote:
> 
>     > One thing that was tangentially brought up is that the ability
>     > to compile out-of-tree modules requires keeping the kernel-headers
>     > around.  So we may need to identify all the headers that a module might
>     > need, and install them in /boot/$KERNEL/sys or some-such.  This would
>     > be needed if, for example, we wanted to install a new Nvidia or Virtual
>     > Box module and have it work for older installed kernel versions too
>     > (eg, across ABI breaking changes in -current).
> 
>     We already have all headers in /usr/include, don't we?
> 
> 
> Not really. We have a subset of the kernel headers that might not match the 
> running kernel, nor be enough to build modules. 

They should match running kernel definitely as we do not support not 
syncronized kernel/world
and installworld populates /usr/include.

And why a subset? Don'we support old-style kernel re-build "config; make 
depend; make"
that does not require full /usr/src tree but /usr/src/sys only?


_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to