diff mbox series

firmware-utils: package xiaomifw

Message ID 20230529104013.31881-1-zajec5@gmail.com
State Under Review
Delegated to: Rafał Miłecki
Headers show
Series firmware-utils: package xiaomifw | expand

Commit Message

Rafał Miłecki May 29, 2023, 10:40 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

It's needed to revert back to Xiaomi original firmware.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
 package/utils/firmware-utils/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series


diff --git a/package/utils/firmware-utils/Makefile b/package/utils/firmware-utils/Makefile
index f49cca01bb..644aa69274 100644
--- a/package/utils/firmware-utils/Makefile
+++ b/package/utils/firmware-utils/Makefile
@@ -35,5 +35,13 @@  define Package/otrx/install
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/otrx $(1)/usr/bin/
+Package/xiaomifw = $(call Package/default,xiaomifw,@TARGET_ramips)
+define Package/xiaomifw/install
+	$(INSTALL_DIR) $(1)/usr/bin
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/xiaomifw $(1)/usr/bin/
 $(eval $(call BuildPackage,oseama))
 $(eval $(call BuildPackage,otrx))
+$(eval $(call BuildPackage,xiaomifw))