]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ucode: enable ucode-mod-zlib 21417/head
authorPaul Donald <newtwen+github@gmail.com>
Tue, 6 Jan 2026 00:53:25 +0000 (01:53 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 19 Jan 2026 20:21:17 +0000 (21:21 +0100)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21417
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/utils/ucode/Makefile

index a6dba0cd7dac0e38dc205aea2c8b94de370fa411..6e6fc64a688d35da2c703b425b8d936c43590fb1 100644 (file)
@@ -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))