[openwrt/openwrt] linux-firmware: move firmware file for mt7601u

LEDE Commits lede-commits at lists.infradead.org
Sat May 27 13:13:02 PDT 2023


chunkeey pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/728afd14fa385a90c6eede3bebfdf4d77938ccc2

commit 728afd14fa385a90c6eede3bebfdf4d77938ccc2
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Mon May 15 21:56:27 2023 +0200

    linux-firmware: move firmware file for mt7601u
    
    The firmware file for mt7601u (MediaTek MT7601U Wireless MACs) has
    been moved to the mediatek/ folder by commit
     8451c2b1 mt76xx: Move the old Mediatek WiFi firmware to mediatek
    
    Address this by updating the location of the firmware file in our
    linux-firmware Makefile generating the mt7601u-firmware package.
    
    All other MediaTek Wi-Fi firmware files are supplied by OpenWrt's
    own repository rather than being taken from linux-firmware.
    
    Fixes: d53fe5d9ce ("linux-firmware: update to 20230515")
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
    (cherry picked from commit d26ecbcf95e2c2ecf5380fdee733c6b46276e265)
---
 package/firmware/linux-firmware/mediatek.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/firmware/linux-firmware/mediatek.mk b/package/firmware/linux-firmware/mediatek.mk
index 18677bc748..77f3365f27 100644
--- a/package/firmware/linux-firmware/mediatek.mk
+++ b/package/firmware/linux-firmware/mediatek.mk
@@ -1,9 +1,9 @@
 Package/mt7601u-firmware = $(call Package/firmware-default,MediaTek MT7601U firmware)
 define Package/mt7601u-firmware/install
-	$(INSTALL_DIR) $(1)/lib/firmware
+	$(INSTALL_DIR) $(1)/lib/firmware/mediatek
 	$(INSTALL_DATA) \
-		$(PKG_BUILD_DIR)/mt7601u.bin \
-		$(1)/lib/firmware
+		$(PKG_BUILD_DIR)/mediatek/mt7601u.bin \
+		$(1)/lib/firmware/mediatek
 endef
 $(eval $(call BuildPackage,mt7601u-firmware))
 




More information about the lede-commits mailing list