openwrt/package/boot/uboot-mediatek/patches/120-use-xz-instead-of-lzma....

12 lines
288 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -1062,7 +1062,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