[openwrt/openwrt] ucode: enable ucode-mod-zlib
LEDE Commits
lede-commits at lists.infradead.org
Tue Jan 20 02:48:41 PST 2026
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/cb206004ea1bce435c5b917937e12acbcb1e56eb
commit cb206004ea1bce435c5b917937e12acbcb1e56eb
Author: Paul Donald <newtwen+github at gmail.com>
AuthorDate: Tue Jan 6 01:53:25 2026 +0100
ucode: enable ucode-mod-zlib
The module exists in ucode and has been present for a while
but has not been enabled. It provides the ucode zlib module
for handling gzip and zlib compression in ucode scripts.
The package is ~ 5Kb. Installed ~18Kb.
Signed-off-by: Paul Donald <newtwen+github at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21417
Signed-off-by: Robert Marko <robimarko at gmail.com>
(cherry picked from commit 16ae5c23e59555eb61100a8a5524ed5b3c6c49a7)
Link: https://github.com/openwrt/openwrt/pull/21608
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/utils/ucode/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/utils/ucode/Makefile b/package/utils/ucode/Makefile
index a6dba0cd7d..6e6fc64a68 100644
--- a/package/utils/ucode/Makefile
+++ b/package/utils/ucode/Makefile
@@ -53,6 +53,7 @@ CMAKE_HOST_OPTIONS += \
-DULOOP_SUPPORT=OFF \
-DDEBUG_SUPPORT=ON \
-DLOG_SUPPORT=OFF \
+ -DZLIB_SUPPORT=ON \
-DDIGEST_SUPPORT=OFF
@@ -188,6 +189,10 @@ $(eval $(call UcodeModule, \
io, IO_SUPPORT, , \
The io module allows direct file descriptor read/write (including non-blocking).))
+$(eval $(call UcodeModule, \
+ zlib, ZLIB_SUPPORT, +zlib, \
+ The zlib module allows ucode scripts to de/compress gzip and zlib formats.))
+
$(eval $(call BuildPackage,libucode))
$(eval $(call BuildPackage,ucode))
More information about the lede-commits
mailing list