[openwrt/openwrt] mt76: install mt7981_eeprom_mt7976_dbdc.bin to STAGING_DIR_IMAGE
LEDE Commits
lede-commits at lists.infradead.org
Tue May 21 01:13:52 PDT 2024
nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/bc5d9779dac9a6a8136f5e105d3181f95b64eb74
commit bc5d9779dac9a6a8136f5e105d3181f95b64eb74
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue May 21 10:10:00 2024 +0200
mt76: install mt7981_eeprom_mt7976_dbdc.bin to STAGING_DIR_IMAGE
It will be used in the image building code
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/kernel/mt76/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index f2339e942a..03c97de797 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -632,6 +632,11 @@ define Package/mt76-test/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/mt76-test $(1)/usr/sbin
endef
+define Build/InstallDev
+ mkdir -p $(STAGING_DIR_IMAGE)
+ $(CP) $(PKG_BUILD_DIR)/firmware/mt7981_eeprom_mt7976_dbdc.bin $(STAGING_DIR_IMAGE)/
+endef
+
$(eval $(call KernelPackage,mt76-core))
$(eval $(call KernelPackage,mt76-usb))
$(eval $(call KernelPackage,mt76x02-usb))
More information about the lede-commits
mailing list