]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
linux-firmware: split out MediaTek mt7996 firmare
authorRoss Burton <ross.burton@arm.com>
Wed, 29 Apr 2026 16:48:19 +0000 (17:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 May 2026 13:02:21 +0000 (14:02 +0100)
The firmware for the MT7996/MT7992/MT7990 devices that use the mt7996e
driver comes to 13MB. Split it out of the -mediatek catch-all as that
accounts for over 20% of the firmware:

linux-firmware: PACKAGES: added "linux-firmware-mt7996"
linux-firmware/linux-firmware-mediatek: PKGSIZE changed from 61848181 to 49149973 (-21%)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux-firmware/linux-firmware_20260410.bb

index 6bb6034d6c7132c3704e1440fc7eba3dd46d02cd..b34f8ef25574b7c7c9737b7e8228bc24f1919917 100644 (file)
@@ -524,7 +524,7 @@ do_install() {
 PACKAGES =+ "${PN}-amphion-vpu-license ${PN}-amphion-vpu \
              ${PN}-cw1200-license ${PN}-cw1200 \
              ${PN}-ralink-license ${PN}-ralink \
-             ${PN}-mt76x-license ${PN}-mt7601u ${PN}-mt7650 ${PN}-mt76x2 \
+             ${PN}-mt76x-license ${PN}-mt7601u ${PN}-mt7650 ${PN}-mt76x2 ${PN}-mt7996 \
              ${PN}-radeon-license ${PN}-radeon \
              ${PN}-amdgpu-license ${PN}-amdgpu \
              ${PN}-amdgpu-aldebaran \
@@ -1185,6 +1185,14 @@ FILES:${PN}-mt76x2 = " \
 "
 RDEPENDS:${PN}-mt76x2 += "${PN}-mt76x-license"
 
+# MediaTek MT7996/MT7992/MT7990 (mt7996e.ko)
+LICENSE:${PN}-mt7996 = "Firmware-mediatek"
+
+FILES:${PN}-mt7996 = " \
+  ${firmwaredir}/mediatek/mt7996 \
+"
+RDEPENDS:${PN}-mt7996 += "${PN}-mediatek-license"
+
 # For MediaTek
 LICENSE:${PN}-mediatek = "Firmware-mediatek"
 LICENSE:${PN}-mediatek-license = "Firmware-mediatek"