kernel: add LZ4 decompressors to kconfig hack
authorJohn Crispin <john@openwrt.org>
Wed, 28 Jan 2015 12:06:35 +0000 (12:06 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 28 Jan 2015 12:06:35 +0000 (12:06 +0000)
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 44168

target/linux/generic/config-3.18
target/linux/generic/patches-3.18/262-compressor_kconfig_hack.patch

index a4c0b65f0c99c077527b7cb698bd1362dcd9737e..ad4d1a202aabb184f4ac1b96bf388fb2979cb549 100644 (file)
@@ -1876,6 +1876,9 @@ CONFIG_LZMA_COMPRESS=y
 CONFIG_LZMA_DECOMPRESS=y
 # CONFIG_LZO_COMPRESS is not set
 # CONFIG_LZO_DECOMPRESS is not set
+# CONFIG_LZ4_COMPRESS is not set
+# CONFIG_LZ4_DECOMPRESS is not set
+# CONFIG_LZ4HC_COMPRESS is not set
 # CONFIG_M25PXX_PREFER_SMALL_SECTOR_ERASE is not set
 # CONFIG_MAC80211 is not set
 # CONFIG_MAC80211_MESSAGE_TRACING is not set
@@ -4570,4 +4573,5 @@ CONFIG_XZ_DEC=y
 CONFIG_ZONE_DMA=y
 CONFIG_ZONE_DMA_FLAG=1
 # CONFIG_ZRAM is not set
+# CONFIG_ZRAM_LZ4_COMPRESS is not set
 # CONFIG_ZSMALLOC is not set
index a24405d580ad3f4684b26c17ee5ca19e75d595ee..51b4fc89b6388a61ee357f6eca9338a591fce129 100644 (file)
@@ -1,6 +1,6 @@
 --- a/lib/Kconfig
 +++ b/lib/Kconfig
-@@ -205,16 +205,16 @@ config RANDOM32_SELFTEST
+@@ -205,25 +205,25 @@ config RANDOM32_SELFTEST
  # compression support is select'ed if needed
  #
  config ZLIB_INFLATE
 +      tristate "LZO decompress support"
  
  config LZ4_COMPRESS
-       tristate
+-      tristate
++      tristate "LZ4 compress support"
+ config LZ4HC_COMPRESS
+-      tristate
++      tristate "LZ4HC compress support"
+ config LZ4_DECOMPRESS
+-      tristate
++      tristate "LZ4 decompress support"
+ source "lib/xz/Kconfig"