diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-01-18 21:45:40 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-01-18 21:53:39 +0000 |
| commit | 0f0b833e4db6d450b39de0365b657936f5a6993b (patch) | |
| tree | 904b762fcb48c6ec0aeb6f7db087db3a9e222c1e | |
| parent | 11f954b021a1aadde1d03d40ed5d6b529e14da98 (diff) | |
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
| -rw-r--r-- | sys/modules/iwlwifi/Makefile | 2 | ||||
| -rw-r--r-- | sys/modules/rtw89/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile index 39b4a48497b4..b5441744d77a 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} |
