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, Dec 12, 6:12 PM
Unknown Object (File)
Oct 4 2024, 1:59 PM
Unknown Object (File)
Oct 4 2024, 10:08 AM
Unknown Object (File)
Oct 3 2024, 5:20 AM
Unknown Object (File)
Oct 2 2024, 8:44 AM
Unknown Object (File)
Oct 1 2024, 7:55 PM
Unknown Object (File)
Oct 1 2024, 1:20 AM
Unknown Object (File)
Sep 26 2024, 2:39 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