kernel: kmod-zram: break the strict dependency from lz4
Zram is only strictly dependent on lzo, not lz4. Break this dependency and make the lz4 module visible in the configuration, in order for the user to have the choice of enabling/disabling it, if (s)he sees fit. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
This commit is contained in:
		 Rui Salvaterra
					Rui Salvaterra
				
			
				
					committed by
					
						 Petr Štetiar
						Petr Štetiar
					
				
			
			
				
	
			
			
			 Petr Štetiar
						Petr Štetiar
					
				
			
						parent
						
							0b6155de0b
						
					
				
				
					commit
					99dae00fa8
				
			| @@ -147,7 +147,6 @@ define KernelPackage/lib-lz4 | |||||||
|   SUBMENU:=$(LIB_MENU) |   SUBMENU:=$(LIB_MENU) | ||||||
|   TITLE:=LZ4 support |   TITLE:=LZ4 support | ||||||
|   DEPENDS:=+kmod-crypto-acompress |   DEPENDS:=+kmod-crypto-acompress | ||||||
|   HIDDEN:=1 |  | ||||||
|   KCONFIG:= \ |   KCONFIG:= \ | ||||||
| 	CONFIG_CRYPTO_LZ4 \ | 	CONFIG_CRYPTO_LZ4 \ | ||||||
| 	CONFIG_LZ4_COMPRESS \ | 	CONFIG_LZ4_COMPRESS \ | ||||||
|   | |||||||
| @@ -930,15 +930,14 @@ $(eval $(call KernelPackage,ikconfig)) | |||||||
| define KernelPackage/zram | define KernelPackage/zram | ||||||
|   SUBMENU:=$(OTHER_MENU) |   SUBMENU:=$(OTHER_MENU) | ||||||
|   TITLE:=ZRAM |   TITLE:=ZRAM | ||||||
|   DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4 |   DEPENDS:=+kmod-lib-lzo | ||||||
|   KCONFIG:= \ |   KCONFIG:= \ | ||||||
| 	CONFIG_ZSMALLOC \ | 	CONFIG_ZSMALLOC \ | ||||||
| 	CONFIG_ZRAM \ | 	CONFIG_ZRAM \ | ||||||
| 	CONFIG_ZRAM_DEBUG=n \ | 	CONFIG_ZRAM_DEBUG=n \ | ||||||
| 	CONFIG_PGTABLE_MAPPING=n \ | 	CONFIG_PGTABLE_MAPPING=n \ | ||||||
| 	CONFIG_ZRAM_WRITEBACK=n \ | 	CONFIG_ZRAM_WRITEBACK=n \ | ||||||
| 	CONFIG_ZSMALLOC_STAT=n \ | 	CONFIG_ZSMALLOC_STAT=n | ||||||
| 	CONFIG_ZRAM_LZ4_COMPRESS=y |  | ||||||
|   FILES:= \ |   FILES:= \ | ||||||
| 	$(LINUX_DIR)/mm/zsmalloc.ko \ | 	$(LINUX_DIR)/mm/zsmalloc.ko \ | ||||||
| 	$(LINUX_DIR)/drivers/block/zram/zram.ko | 	$(LINUX_DIR)/drivers/block/zram/zram.ko | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user