mt76: install mt7981_eeprom_mt7976_dbdc.bin to STAGING_DIR_IMAGE
authorFelix Fietkau <nbd@nbd.name>
Tue, 21 May 2024 08:10:00 +0000 (10:10 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 May 2024 08:13:31 +0000 (10:13 +0200)
It will be used in the image building code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mt76/Makefile

index f2339e942a3248577c4c9b5d8d93387acc0e3f11..03c97de797734f5270d323552c9f85222cef51d5 100644 (file)
@@ -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))