mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			749 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			749 B
		
	
	
	
		
			Diff
		
	
	
| --- linux-4.9.37/lib/Makefile	2017-07-12 16:42:41.000000000 +0300
 | |
| +++ linux-4.9.y/lib/Makefile	2021-06-07 13:01:34.000000000 +0300
 | |
| @@ -1,6 +1,15 @@
 | |
|  #
 | |
|  # Makefile for some libs needed in the kernel.
 | |
|  #
 | |
| +ifdef CONFIG_JFFS2_ZLIB
 | |
| +	CONFIG_ZLIB_INFLATE:=y
 | |
| +	CONFIG_ZLIB_DEFLATE:=y
 | |
| +endif
 | |
| +
 | |
| +ifdef CONFIG_JFFS2_LZMA
 | |
| +	CONFIG_LZMA_DECOMPRESS:=y
 | |
| +	CONFIG_LZMA_COMPRESS:=y
 | |
| +endif
 | |
|  
 | |
|  ifdef CONFIG_FUNCTION_TRACER
 | |
|  ORIG_CFLAGS := $(KBUILD_CFLAGS)
 | |
| @@ -108,6 +117,8 @@
 | |
|  obj-$(CONFIG_LZ4_DECOMPRESS) += lz4/
 | |
|  obj-$(CONFIG_XZ_DEC) += xz/
 | |
|  obj-$(CONFIG_RAID6_PQ) += raid6/
 | |
| +obj-$(CONFIG_LZMA_COMPRESS) += lzma/
 | |
| +obj-$(CONFIG_LZMA_DECOMPRESS) += lzma/
 | |
|  
 | |
|  lib-$(CONFIG_DECOMPRESS_GZIP) += decompress_inflate.o
 | |
|  lib-$(CONFIG_DECOMPRESS_BZIP2) += decompress_bunzip2.o
 |