Date: Sat, 07 Feb 2026 00:58:22 +0000 From: Bjoern A. Zeeb <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 03f6b1fd6af0 - main - mt76: module Makefiles fix .PATH Message-ID: <69868e2e.32d2d.1d493846@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=03f6b1fd6af0bb43f74b38d8b5373f5485da0e8f commit 03f6b1fd6af0bb43f74b38d8b5373f5485da0e8f Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2026-02-03 18:26:37 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-02-07 00:57:51 +0000 mt76: module Makefiles fix .PATH The common Makefile.inc had the .PATH set for the common code. That .PATH is only needed for the mt76_core module, which shares code for all other drivers. We leave the COMMONDIR variable defined in Makefile.inc as we need it for CFLAGS+= -I for each driver but migrate the .PATH to avoid drivers picking up the wrong files. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/modules/mt76/Makefile.inc | 2 -- sys/modules/mt76/core/Makefile | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/modules/mt76/Makefile.inc b/sys/modules/mt76/Makefile.inc index 739c85c60dac..41b18651e985 100644 --- a/sys/modules/mt76/Makefile.inc +++ b/sys/modules/mt76/Makefile.inc @@ -2,8 +2,6 @@ COMMONDIR= ${SRCTOP}/sys/contrib/dev/mediatek/mt76 -.PATH: ${COMMONDIR} - # Bus attachments. WITH_PCI= 1 WITH_USB= 0 diff --git a/sys/modules/mt76/core/Makefile b/sys/modules/mt76/core/Makefile index 589063a23229..f2aec9dfcf4c 100644 --- a/sys/modules/mt76/core/Makefile +++ b/sys/modules/mt76/core/Makefile @@ -1,5 +1,7 @@ .include <kmod.opts.mk> +.PATH: ${COMMONDIR} + KMOD= mt76_core # Basic stuff.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69868e2e.32d2d.1d493846>
