summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Donald2026-01-06 00:53:25 +0000
committerHauke Mehrtens2026-01-20 10:47:57 +0000
commitcb206004ea1bce435c5b917937e12acbcb1e56eb (patch)
treef1889390dc66db380c117cb98075c7d012877a2c
parentd88e3573a7e9c2797165a725186f58e2300499db (diff)
downloadopenwrt-cb206004ea1bce435c5b917937e12acbcb1e56eb.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21417 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 16ae5c23e59555eb61100a8a5524ed5b3c6c49a7) Link: https://github.com/openwrt/openwrt/pull/21608 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/utils/ucode/Makefile5
1 files changed, 5 insertions, 0 deletions
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))