aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/120-use-xz-instead-of-lzma.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-mediatek/patches/120-use-xz-instead-of-lzma.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/120-use-xz-instead-of-lzma.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/boot/uboot-mediatek/patches/120-use-xz-instead-of-lzma.patch b/package/boot/uboot-mediatek/patches/120-use-xz-instead-of-lzma.patch
new file mode 100644
index 0000000000..d33b0b93a0
--- /dev/null
+++ b/package/boot/uboot-mediatek/patches/120-use-xz-instead-of-lzma.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1008,7 +1008,7 @@ quiet_cmd_pad_cat = CAT $@
+ cmd_pad_cat = $(cmd_objcopy) && $(append) || { rm -f $@; false; }
+
+ quiet_cmd_lzma = LZMA $@
+-cmd_lzma = lzma -c -z -k -9 $< > $@
++cmd_lzma = xz --format=lzma -c -z -k -9 $< > $@
+
+ cfg: u-boot.cfg
+