| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# This is a modified version of zlib, which does all memory |
| 4 |
# allocation ahead of time. |
| 5 |
# |
| 6 |
# This is only the decompression, see zlib_deflate for the |
| 7 |
# the compression |
| 8 |
# |
| 9 |
# Decompression needs to be serialized for each memory |
| 10 |
# allocation. |
| 11 |
# |
| 12 |
# (The upsides of the simplification is that you can't get in |
| 13 |
# any nasty situations wrt memory management, and that the |
| 14 |
# uncompression can be done without blocking on allocation). |
| 15 |
# |
| 16 |
|
| 17 |
obj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate.o |
| 18 |
|
| 19 |
zlib_inflate-objs := inffast.o inflate.o infutil.o \ |
| 20 |
inftrees.o inflate_syms.o |