1 # SPDX-License-Identifier: GPL-2.0-only << 2 # 1 # 3 # This is a modified version of zlib, which do 2 # This is a modified version of zlib, which does all memory 4 # allocation ahead of time. 3 # allocation ahead of time. 5 # 4 # 6 # This is only the decompression, see zlib_def 5 # This is only the decompression, see zlib_deflate for the 7 # the compression 6 # the compression 8 # 7 # 9 # Decompression needs to be serialized for eac 8 # Decompression needs to be serialized for each memory 10 # allocation. 9 # allocation. 11 # 10 # 12 # (The upsides of the simplification is that y 11 # (The upsides of the simplification is that you can't get in 13 # any nasty situations wrt memory management, 12 # any nasty situations wrt memory management, and that the 14 # uncompression can be done without blocking o 13 # uncompression can be done without blocking on allocation). 15 # 14 # 16 15 17 obj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate.o !! 16 O_TARGET := zlib_inflate.o 18 17 19 zlib_inflate-objs := inffast.o inflate.o infut !! 18 export-objs := inflate_syms.o 20 inftrees.o inflate_syms.o !! 19 >> 20 obj-y := infblock.o infcodes.o inffast.o inflate.o \ >> 21 inftrees.o infutil.o inflate_syms.o >> 22 obj-m := $(O_TARGET) >> 23 >> 24 EXTRA_CFLAGS += -I $(TOPDIR)/lib/zlib_inflate >> 25 >> 26 include $(TOPDIR)/Rules.make
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.