Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2021 09:31:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 258081] opt_platform.h always created empty on kmod build
Message-ID:  <bug-258081-227-IaoORlSbCS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258081-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258081-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258081

--- 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 ei=
ther
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258081-227-IaoORlSbCS>