Page MenuHomeFreeBSD

net/wifi-firmware-kmod: allow ONLY_FOR_ARCHS to be set by child ports
ClosedPublic

Authored by bz on Nov 17 2025, 2:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 19, 10:50 AM
Unknown Object (File)
Wed, Dec 17, 8:22 AM
Unknown Object (File)
Sun, Dec 14, 6:41 AM
Unknown Object (File)
Sat, Dec 13, 11:48 PM
Unknown Object (File)
Tue, Dec 9, 12:17 AM
Unknown Object (File)
Sun, Nov 30, 2:15 PM
Unknown Object (File)
Fri, Nov 28, 11:09 AM
Unknown Object (File)
Thu, Nov 27, 9:21 PM
Subscribers

Details

Summary

mtw(4) is built along USB for all architectures so we need firmware
on all architectures -- unlike the LinuxKPI based wireless drivers
which are restricted by default.

Allow ONLY_FOR_ARCHS to be set in a child port; maintaing a full list
of supported ARCHes seems unreasonable though so allow NOT_FOR_ARCHS
to disable the ONLY_FOR_ARCHS logic in Makefile.inc. That way
wifi-firmware-mt7601u-kmod can define an empty NOT_FOR_ARCHS and
it should build on all ARCHes.

Sponsored by: The FreeBSD Foundation

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 68687
Build 65570: arc lint + arc unit

Event Timeline

bz requested review of this revision.Nov 17 2025, 2:44 PM
bz created this revision.
This revision is now accepted and ready to land.Wed, Nov 26, 8:14 PM