The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0f0b833e4db6d450b39de0365b657936f5a6993b

commit 0f0b833e4db6d450b39de0365b657936f5a6993b
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2026-01-18 21:45:40 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
CommitDate: 2026-01-18 21:53:39 +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
---
 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 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}

Reply via email to