aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-01-28 12:06:35 +0000
committerJohn Crispin <blogic@openwrt.org>2015-01-28 12:06:35 +0000
commit1dfcf9183c7e8dd17beb0c296cebbd4f0bdae633 (patch)
treeca5195c16b77396b1eee61c4b5fc6fb8b649b46c /target/linux
parentdba339a5c1eb5c1987a3d9195cb745781df3364f (diff)
downloadmaster-187ad058-1dfcf9183c7e8dd17beb0c296cebbd4f0bdae633.tar.gz
master-187ad058-1dfcf9183c7e8dd17beb0c296cebbd4f0bdae633.tar.bz2
master-187ad058-1dfcf9183c7e8dd17beb0c296cebbd4f0bdae633.zip
kernel: add LZ4 decompressors to kconfig hack
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44168 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/config-3.184
-rw-r--r--target/linux/generic/patches-3.18/262-compressor_kconfig_hack.patch16
2 files changed, 18 insertions, 2 deletions
diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18
index a4c0b65f0c..ad4d1a202a 100644
--- a/target/linux/generic/config-3.18
+++ b/target/linux/generic/config-3.18
@@ -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
diff --git a/target/linux/generic/patches-3.18/262-compressor_kconfig_hack.patch b/target/linux/generic/patches-3.18/262-compressor_kconfig_hack.patch
index a24405d580..51b4fc89b6 100644
--- a/target/linux/generic/patches-3.18/262-compressor_kconfig_hack.patch
+++ b/target/linux/generic/patches-3.18/262-compressor_kconfig_hack.patch
@@ -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
@@ -20,4 +20,16 @@
+ 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"
+