[Bug 258081] opt_platform.h always created empty on kmod build
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 258081] opt_platform.h always created empty on kmod build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Aug 2021 09:31:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258081 --- Comment #1 from Andriy Gapon <avg@FreeBSD.org> --- 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. -- You are receiving this mail because: You are the assignee for the bug.