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 21, 6:02 PM
Unknown Object (File)
Mon, Sep 21, 5:59 PM
Unknown Object (File)
Mon, Sep 21, 4:27 PM
Unknown Object (File)
Mon, Sep 21, 4:12 PM
Unknown Object (File)
Sun, Sep 20, 1:15 PM
Unknown Object (File)
Sat, Sep 19, 4:33 AM
Unknown Object (File)
Fri, Sep 18, 7:01 AM
Unknown Object (File)
Fri, Sep 11, 2:46 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