summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.15.2/lz4.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-30 08:40:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-30 08:40:35 +0200
commit8b2ea5fd6a65f35d670eba5c44a7f7f9d561c131 (patch)
tree249a0a0e9f103e5866b69405223204b5a4fba1f7 /target/linux/patches/3.15.2/lz4.patch
parenteb3f81cc2f161f97954b9b93839a0225bc2bf83b (diff)
add support for lz4 compressed kernel and initramfs
Diffstat (limited to 'target/linux/patches/3.15.2/lz4.patch')
-rw-r--r--target/linux/patches/3.15.2/lz4.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/patches/3.15.2/lz4.patch b/target/linux/patches/3.15.2/lz4.patch
new file mode 100644
index 000000000..3106015ab
--- /dev/null
+++ b/target/linux/patches/3.15.2/lz4.patch
@@ -0,0 +1,16 @@
+diff -Nur linux-3.15.2.orig/usr/Kconfig linux-3.15.2/usr/Kconfig
+--- linux-3.15.2.orig/usr/Kconfig 2014-06-26 21:17:52.000000000 +0200
++++ linux-3.15.2/usr/Kconfig 2014-06-30 08:29:00.000000000 +0200
+@@ -174,4 +174,12 @@
+ size is about 10% bigger than gzip; however its speed
+ (both compression and decompression) is the fastest.
+
++config INITRAMFS_COMPRESSION_LZ4
++ bool "LZ4"
++ depends on RD_LZ4
++ help
++ Its compression ratio is the poorest among the choices. The kernel
++ size is about 10% bigger than gzip; however its speed
++ (both compression and decompression) is the fastest.
++
+ endchoice