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)
Sun, Apr 20, 3:14 AM
Unknown Object (File)
Sun, Apr 20, 1:38 AM
Unknown Object (File)
Sat, Apr 19, 11:43 PM
Unknown Object (File)
Sat, Apr 19, 11:40 PM
Unknown Object (File)
Sat, Apr 19, 11:17 PM
Unknown Object (File)
Feb 10 2025, 1:57 PM
Unknown Object (File)
Jan 28 2025, 4:01 PM
Unknown Object (File)
Jan 23 2025, 4:51 PM
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