[PATCH] firmware-utils: package xiaomifw
Rafał Miłecki
zajec5 at gmail.com
Mon May 29 03:40:13 PDT 2023
From: Rafał Miłecki <rafal at milecki.pl>
It's needed to revert back to Xiaomi original firmware.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
package/utils/firmware-utils/Makefile | 8 ++++++++
1 file changed, 8 insertions(+)
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/
endef
+Package/xiaomifw = $(call Package/default,xiaomifw, at TARGET_ramips)
+
+define Package/xiaomifw/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/xiaomifw $(1)/usr/bin/
+endef
+
$(eval $(call BuildPackage,oseama))
$(eval $(call BuildPackage,otrx))
+$(eval $(call BuildPackage,xiaomifw))
--
2.35.3
More information about the openwrt-devel
mailing list