git: e09f36c741bd - stable/15 - modules: iwlwifi/rtw89 allow standalone build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jan 2026 08:16:59 UTC
The branch stable/15 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=e09f36c741bd4866c2fef36040eaf87d6f1c84bf
commit e09f36c741bd4866c2fef36040eaf87d6f1c84bf
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-01-18 21:45:40 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-26 08:15:11 +0000
modules: iwlwifi/rtw89 allow standalone build
The KERN_OPTS:MDEV_ACPI checks are fine for as long as we are building
modules along the kernel. If one wants to just build the module
standalone out of the module directory this would fail.
Add the missing include for kmod.opts.mk (as was done for tcp
in 1319a76179682).
Sponsored by: The FreeBSD Foundation
Reported by: Tassilo Philipp (tphilipp potion-studios.com)
Fixes: f5a77dc8f8df ("improve module Makefile dependency on ACPI")
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54769
(cherry picked from commit 0f0b833e4db6d450b39de0365b657936f5a6993b)
---
sys/modules/iwlwifi/Makefile | 2 ++
sys/modules/rtw89/Makefile | 2 ++
2 files changed, 4 insertions(+)
diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile
index 1d0c52276b84..94b25c261acc 100644
--- a/sys/modules/iwlwifi/Makefile
+++ b/sys/modules/iwlwifi/Makefile
@@ -1,3 +1,5 @@
+.include <kmod.opts.mk>
+
DEVIWLWIFIDIR= ${SRCTOP}/sys/contrib/dev/iwlwifi
.PATH: ${DEVIWLWIFIDIR}
diff --git a/sys/modules/rtw89/Makefile b/sys/modules/rtw89/Makefile
index 98174fff2a1b..9aa6cfda1d3d 100644
--- a/sys/modules/rtw89/Makefile
+++ b/sys/modules/rtw89/Makefile
@@ -1,3 +1,5 @@
+.include <kmod.opts.mk>
+
DEVRTW89DIR= ${SRCTOP}/sys/contrib/dev/rtw89
.PATH: ${DEVRTW89DIR}