[Bug 258081] opt_platform.h always created empty on kmod build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 28 Aug 2021 09:31:30 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258081

--- Comment #1 from Andriy Gapon <avg_at_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.
Received on Sat Aug 28 2021 - 09:31:30 UTC

Original text of this message