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 in1319a76179). Sponsored by: The FreeBSD Foundation Reported by: Tassilo Philipp (tphilipp potion-studios.com) Fixes:f5a77dc8f8("improve module Makefile dependency on ACPI") Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D54769
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
.include <kmod.opts.mk>
|
||||
|
||||
DEVIWLWIFIDIR= ${SRCTOP}/sys/contrib/dev/iwlwifi
|
||||
|
||||
.PATH: ${DEVIWLWIFIDIR}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
.include <kmod.opts.mk>
|
||||
|
||||
DEVRTW89DIR= ${SRCTOP}/sys/contrib/dev/rtw89
|
||||
|
||||
.PATH: ${DEVRTW89DIR}
|
||||
|
||||
Reference in New Issue
Block a user