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
F142116782: D53788.id167892.diff
Fri, Jan 16, 4:19 AM
Unknown Object (File)
Mon, Jan 12, 12:31 PM
Unknown Object (File)
Sun, Jan 11, 2:50 PM
Unknown Object (File)
Sat, Jan 10, 1:34 AM
Unknown Object (File)
Fri, Jan 9, 1:01 PM
Unknown Object (File)
Fri, Dec 19, 10:50 AM
Unknown Object (File)
Dec 17 2025, 8:22 AM
Unknown Object (File)
Dec 14 2025, 6:41 AM
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

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.Nov 26 2025, 8:14 PM