Sfoglia il codice sorgente

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21417
Signed-off-by: Robert Marko <[email protected]>
Paul Donald 2 settimane fa
parent
commit
16ae5c23e5
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      package/utils/ucode/Makefile

+ 5 - 0
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))