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
F118813233: D23345.id67469.diff
Mon, Jun 2, 4:44 AM
Unknown Object (File)
Thu, May 29, 9:45 PM
Unknown Object (File)
Wed, May 28, 8:28 AM
Unknown Object (File)
Sat, May 24, 11:12 PM
Unknown Object (File)
Sat, May 24, 11:30 AM
Unknown Object (File)
Thu, May 22, 9:33 AM
Unknown Object (File)
Sun, May 18, 8:37 AM
Unknown Object (File)
Apr 20 2025, 3:14 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