summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.4.20/mips-xz.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/4.4.20/mips-xz.patch')
-rw-r--r--target/linux/patches/4.4.20/mips-xz.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/4.4.20/mips-xz.patch b/target/linux/patches/4.4.20/mips-xz.patch
new file mode 100644
index 000000000..5cfac6254
--- /dev/null
+++ b/target/linux/patches/4.4.20/mips-xz.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-4.4.5.orig/arch/mips/boot/compressed/Makefile linux-4.4.5/arch/mips/boot/compressed/Makefile
+--- linux-4.4.5.orig/arch/mips/boot/compressed/Makefile 2016-03-10 00:35:58.000000000 +0100
++++ linux-4.4.5/arch/mips/boot/compressed/Makefile 2016-03-15 11:35:31.951795457 +0100
+@@ -41,7 +41,7 @@
+ endif
+
+ ifdef CONFIG_KERNEL_XZ
+-vmlinuzobjs-y += $(obj)/../../lib/ashldi3.o
++vmlinuzobjs-y += $(obj)/../../lib/ashldi3.o $(obj)/../../lib/bswapsi.o
+ endif
+
+ targets += vmlinux.bin