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)
Thu, Nov 20, 7:02 PM
Unknown Object (File)
Thu, Nov 20, 6:57 PM
Unknown Object (File)
Thu, Nov 20, 6:56 PM
Unknown Object (File)
Thu, Nov 20, 6:46 PM
Unknown Object (File)
Tue, Nov 18, 2:31 AM
Unknown Object (File)
Wed, Oct 29, 12:33 PM
Unknown Object (File)
Oct 27 2025, 5:53 AM
Unknown Object (File)
Oct 25 2025, 8:20 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 28890