From 8b2ea5fd6a65f35d670eba5c44a7f7f9d561c131 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 30 Jun 2014 08:40:35 +0200 Subject: add support for lz4 compressed kernel and initramfs --- target/linux/patches/3.15.2/lz4.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 target/linux/patches/3.15.2/lz4.patch (limited to 'target/linux/patches') 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 -- cgit v1.2.3