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)
Mon, Sep 22, 4:53 PM
Unknown Object (File)
Fri, Sep 19, 10:30 PM
Unknown Object (File)
Sep 3 2025, 12:38 PM
Unknown Object (File)
Jul 26 2025, 4:05 PM
Unknown Object (File)
Jul 25 2025, 12:53 PM
Unknown Object (File)
Jul 10 2025, 7:46 AM
Unknown Object (File)
Jul 8 2025, 2:10 PM
Unknown Object (File)
Jun 16 2025, 3:38 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