Page MenuHomeFreeBSD

kmod build: start generating opt_global.h, include it
ClosedPublic

Authored by kevans on Jan 24 2020, 4:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 28, 5:38 PM
Unknown Object (File)
Tue, Apr 28, 5:31 PM
Unknown Object (File)
Mon, Apr 27, 1:37 PM
Unknown Object (File)
Mon, Apr 27, 12:23 PM
Unknown Object (File)
Sun, Apr 26, 3:47 PM
Unknown Object (File)
Tue, Apr 21, 9:03 PM
Unknown Object (File)
Thu, Apr 16, 12:41 AM
Unknown Object (File)
Wed, Apr 15, 10:20 AM
Subscribers
None

Details

Summary

For untied module builds, we'll generate opt_foo headers if they're included in SRCS. However, options that would normally be represented in opt_global.h aren't properly represented.

Start generating opt_global.h with #define VIMAGE for !mips since it's almost universally a project default and right now kmods must hack it in themselves in order to be properly compiled for the default kernel. For example, ^/sys/modules/pf/Makefile

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable