Summary: | opt_platform.h always created empty on kmod build | ||
---|---|---|---|
Product: | Base System | Reporter: | Alexander Mishin <mishin> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | ||
Priority: | --- | ||
Version: | 13.0-STABLE | ||
Hardware: | arm | ||
OS: | Any |
Description
Alexander Mishin
2021-08-27 11:02:59 UTC
A standalone module build has no idea of the target platform properties and so it cannot make any meaningful definitions for it. If you want to build a module to work with a specific kernel (and its configuration must have all the necessary platform specifications), then either build the module as a part of the kernel build or use KERNBUILDDIR make variable to point to the kernel build. P.S. In general, when you are not sure it's better to ask a question first and then to file a bug. FreeBSD has many forums for all kinds of questions. Thank You |