From nobody Fri May 12 11:58:29 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QHnN55RDDz49vsH; Fri, 12 May 2023 11:58:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHnN54ws1z3pgR; Fri, 12 May 2023 11:58:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683892709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TmOXYuoPMHocTOCkE8tkqryN02xOIV+sZWKP328Ts+A=; b=UkPtUkWBzZl+EkLFRME0++1L72Mj6qUAsKOCaLq98hSYooEeUg9QCNRM5vc1PjjwriUdNi ak9jzMKmxdW2Sjr38NpH75PIM4lUWrABYFZMQvkUwsjSloDb/ku9z+EPh3Yyd0yM7rCJko b3os1hftOf1n39aZPDH94VBkrE9u75QDXlHDGpGn405BYyumh9w/2I3KyPVxXdojcYeGM/ q2mR3NZhew0DaJqoyhR17rZ4uyFmV+P0CwkRKuCJgxGmn71JNFQYWkXCwTHe4MoSmOT79T TyKWuyFtC3leh9MGY9gxV2GPfXM3exsFAy0iDTtEbwRjQEVBobK/P1isA3akwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683892709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TmOXYuoPMHocTOCkE8tkqryN02xOIV+sZWKP328Ts+A=; b=ghl2z89sCt3cpwYsKaRA9kN5sbmMR8DS4LFxgzYQSAbsRlxVEybDqOprGgo40EpWQ9D9Fq k2uBTSjLCXZFnvCrfvZ1jls/ENswNCO2YJRsMTtMZJ5iUFDyHZxOI/O4v0sHaWdVsIaFVR 4CRqHtjqGbHLGfWU32oIPxTeZMFxLB0DxMLd26+xr9kkr+DFyAzH4WrjkYzQf9yDBhcrMQ LpTXL7pZBYB4szjhaZH3QlHO4z/JSrKoLVZ+6VvSIpjhEWD5+OoSjlP2/ugX/ieDWG3ZVA nddtOAnEF/d8D8eVqBxS+FXvB/Bw3BNy88J/PNda59N1lcgW4v0kHN/ja8JJqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683892709; a=rsa-sha256; cv=none; b=LqbAGHsxtRdfIa0Z3+PoZe8vpzFYfgatqgNqT55WhAQtmvPkqlcHE2ntGO+Iq9g/W5Rh+N ZqHWfX34P9tOuLhcnmmgoHiF4gr1vqXD3sR02pLlZ1XiUH1pgXXPogTk15HS32j3A/Ymxy 6ReoA4zNfkbyfgB0btNkwaZMBg/2Gg2jAUB7szG2uA/IRSk5dm1FdblEeybgTEzfq29SVt nQorurb2Desiz30BatMK+OVzShG+I4DYXvLnyEWYuYp2iQl4NuCJLuuHjqonVkZ8gyIM4E vywosGHC159u2gNY4H0QR1KucXLIpGovfIex+udZEQM5xm+NbWytgiZyipITUA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QHnN53vQMzZSX; Fri, 12 May 2023 11:58:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34CBwTw7084457; Fri, 12 May 2023 11:58:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34CBwT1l084456; Fri, 12 May 2023 11:58:29 GMT (envelope-from git) Date: Fri, 12 May 2023 11:58:29 GMT Message-Id: <202305121158.34CBwT1l084456@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 6247964e51aa - main - net/wifi-firmware-*: use metaport for "base" and switch to Makefile.inc List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6247964e51aa9d2dd972fb4c545c97164bda609c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/ports/commit/?id=6247964e51aa9d2dd972fb4c545c97164bda609c commit 6247964e51aa9d2dd972fb4c545c97164bda609c Author: Bjoern A. Zeeb AuthorDate: 2023-05-08 20:54:50 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-05-12 11:57:09 +0000 net/wifi-firmware-*: use metaport for "base" and switch to Makefile.inc Rename the wifi-firmware-base to wifi-firmware-kmod (similar to gpu-firmware-mod). The former was never build so technically it is no move. Make the new subdir a metaport including all wireless firmware. Move the old Makefile to Makefile.inc and adjust the child ports accordingly. This solves two problems: (1) the base port is now buildable and (2) there is a single port to depend on to add all the needed firmware files to, e.g., put on a release media. Suggested by: amdmi3 PR: 270742 Reviewed by: ehaupt, jrm Approved by: ehaupt, jrm Differential Revision: https://reviews.freebsd.org/D40014 --- net/Makefile | 2 +- net/wifi-firmware-ath10k-kmod/Makefile | 4 ++-- net/wifi-firmware-ath11k-kmod/Makefile | 4 ++-- net/wifi-firmware-base/pkg-descr | 1 - net/wifi-firmware-kmod/Makefile | 18 ++++++++++++++++++ .../Makefile => wifi-firmware-kmod/Makefile.inc} | 0 net/wifi-firmware-kmod/pkg-descr | 1 + net/wifi-firmware-mt76-kmod/Makefile | 4 ++-- net/wifi-firmware-rtw88-kmod/Makefile | 4 ++-- net/wifi-firmware-rtw89-kmod/Makefile | 4 ++-- 10 files changed, 30 insertions(+), 12 deletions(-) diff --git a/net/Makefile b/net/Makefile index 7e8140d7f268..71460e1d9aa9 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1584,7 +1584,7 @@ SUBDIR += widentd SUBDIR += wifi-firmware-ath10k-kmod SUBDIR += wifi-firmware-ath11k-kmod - SUBDIR += wifi-firmware-base + SUBDIR += wifi-firmware-kmod SUBDIR += wifi-firmware-mt76-kmod SUBDIR += wifi-firmware-rtw88-kmod SUBDIR += wifi-firmware-rtw89-kmod diff --git a/net/wifi-firmware-ath10k-kmod/Makefile b/net/wifi-firmware-ath10k-kmod/Makefile index 2355138b86ef..20003c3ce348 100644 --- a/net/wifi-firmware-ath10k-kmod/Makefile +++ b/net/wifi-firmware-ath10k-kmod/Makefile @@ -1,4 +1,4 @@ -BASEDIR= ${.CURDIR}/../wifi-firmware-base +BASEDIR= ${.CURDIR}/../wifi-firmware-kmod FWDRV= ath10k FWSUBDIR= ath10k @@ -85,4 +85,4 @@ DISTFILES_lic= \ ${DISTFILES_QCA9984_hw10_lic} \ ${DISTFILES_QCA99X0_hw20_lic} -.include "${BASEDIR}/Makefile" +.include "${BASEDIR}/Makefile.inc" diff --git a/net/wifi-firmware-ath11k-kmod/Makefile b/net/wifi-firmware-ath11k-kmod/Makefile index 1f70ff0b7833..4f4e1566a73d 100644 --- a/net/wifi-firmware-ath11k-kmod/Makefile +++ b/net/wifi-firmware-ath11k-kmod/Makefile @@ -1,4 +1,4 @@ -BASEDIR= ${.CURDIR}/../wifi-firmware-base +BASEDIR= ${.CURDIR}/../wifi-firmware-kmod FWDRV= ath11k FWSUBDIR= ath11k @@ -102,4 +102,4 @@ DISTFILES_lic= \ # ${DISTFILES_WCN6855_hw20_lic} \ # ${DISTFILES_WCN6750_hw10_lic} -.include "${BASEDIR}/Makefile" +.include "${BASEDIR}/Makefile.inc" diff --git a/net/wifi-firmware-base/pkg-descr b/net/wifi-firmware-base/pkg-descr deleted file mode 100644 index 0825791ccf13..000000000000 --- a/net/wifi-firmware-base/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -WiFi firmware build master port. diff --git a/net/wifi-firmware-kmod/Makefile b/net/wifi-firmware-kmod/Makefile new file mode 100644 index 000000000000..53a4ff214678 --- /dev/null +++ b/net/wifi-firmware-kmod/Makefile @@ -0,0 +1,18 @@ +PORTNAME= wifi-firmware-kmod +PORTVERSION= 20230508 +CATEGORIES= net + +MAINTAINER= bz@FreeBSD.org +COMMENT= Firmware modules for WiFi NIC drivers +WWW= https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ + +RUN_DEPENDS= \ + wifi-firmware-ath10k-kmod>0:net/wifi-firmware-ath10k-kmod \ + wifi-firmware-ath11k-kmod>0:net/wifi-firmware-ath11k-kmod \ + wifi-firmware-mt76-kmod>0:net/wifi-firmware-mt76-kmod \ + wifi-firmware-rtw88-kmod>0:net/wifi-firmware-rtw88-kmod \ + wifi-firmware-rtw89-kmod>0:net/wifi-firmware-rtw89-kmod + +USES= metaport + +.include diff --git a/net/wifi-firmware-base/Makefile b/net/wifi-firmware-kmod/Makefile.inc similarity index 100% rename from net/wifi-firmware-base/Makefile rename to net/wifi-firmware-kmod/Makefile.inc diff --git a/net/wifi-firmware-kmod/pkg-descr b/net/wifi-firmware-kmod/pkg-descr new file mode 100644 index 000000000000..a11045a83f3f --- /dev/null +++ b/net/wifi-firmware-kmod/pkg-descr @@ -0,0 +1 @@ +Meta port for the firmware modules for the WiFi NIC drivers. diff --git a/net/wifi-firmware-mt76-kmod/Makefile b/net/wifi-firmware-mt76-kmod/Makefile index cb75f071f4f3..86692cd413a9 100644 --- a/net/wifi-firmware-mt76-kmod/Makefile +++ b/net/wifi-firmware-mt76-kmod/Makefile @@ -1,4 +1,4 @@ -BASEDIR= ${.CURDIR}/../wifi-firmware-base +BASEDIR= ${.CURDIR}/../wifi-firmware-kmod FWDRV= mt76 FWSUBDIR= mediatek @@ -28,4 +28,4 @@ DISTFILES_fw= \ ${DISTFILES_mt7921} DISTFILES_lic= -.include "${BASEDIR}/Makefile" +.include "${BASEDIR}/Makefile.inc" diff --git a/net/wifi-firmware-rtw88-kmod/Makefile b/net/wifi-firmware-rtw88-kmod/Makefile index 01eed314d6be..aa4a8a5b38bc 100644 --- a/net/wifi-firmware-rtw88-kmod/Makefile +++ b/net/wifi-firmware-rtw88-kmod/Makefile @@ -1,4 +1,4 @@ -BASEDIR= ${.CURDIR}/../wifi-firmware-base +BASEDIR= ${.CURDIR}/../wifi-firmware-kmod FWDRV= rtw88 FWSUBDIR= rtw88 @@ -31,4 +31,4 @@ DISTFILES_fw= \ DISTFILES_lic= \ ${FWSUBDIR}/README${DISTURL_SUFFIX} -.include "${BASEDIR}/Makefile" +.include "${BASEDIR}/Makefile.inc" diff --git a/net/wifi-firmware-rtw89-kmod/Makefile b/net/wifi-firmware-rtw89-kmod/Makefile index 6f88b11697a2..d3b1b197997e 100644 --- a/net/wifi-firmware-rtw89-kmod/Makefile +++ b/net/wifi-firmware-rtw89-kmod/Makefile @@ -1,4 +1,4 @@ -BASEDIR= ${.CURDIR}/../wifi-firmware-base +BASEDIR= ${.CURDIR}/../wifi-firmware-kmod FWDRV= rtw89 FWSUBDIR= rtw89 @@ -25,4 +25,4 @@ DISTFILES_fw= \ DISTFILES_lic= -.include "${BASEDIR}/Makefile" +.include "${BASEDIR}/Makefile.inc"