18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# This is a modified version of zlib, which does all memory 48c2ecf20Sopenharmony_ci# allocation ahead of time. 58c2ecf20Sopenharmony_ci# 68c2ecf20Sopenharmony_ci# This is only the decompression, see zlib_deflate for the 78c2ecf20Sopenharmony_ci# the compression 88c2ecf20Sopenharmony_ci# 98c2ecf20Sopenharmony_ci# Decompression needs to be serialized for each memory 108c2ecf20Sopenharmony_ci# allocation. 118c2ecf20Sopenharmony_ci# 128c2ecf20Sopenharmony_ci# (The upsides of the simplification is that you can't get in 138c2ecf20Sopenharmony_ci# any nasty situations wrt memory management, and that the 148c2ecf20Sopenharmony_ci# uncompression can be done without blocking on allocation). 158c2ecf20Sopenharmony_ci# 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciobj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate.o 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_cizlib_inflate-objs := inffast.o inflate.o infutil.o \ 208c2ecf20Sopenharmony_ci inftrees.o inflate_syms.o 21