mpc85xx: ws-ap3715i: use libdeflate-gzip for kernel

The simpleImage contains a payload already compressed with lzma-based
xz (by default), so further compressing it with lzma will often make
the result larger. On the contrary, compressing these simpleImages
with gzip can make the result smaller, so replace lzma with
libdeflate-gzip to compress kernel for ws-ap3715i.

Signed-off-by: Edward Chow <equu@openmail.cc>
Link: https://github.com/openwrt/openwrt/pull/23121
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Edward Chow 2026-04-30 05:52:10 +08:00 committed by Robert Marko
parent 65a57d7159
commit e46844260b

View File

@ -41,7 +41,7 @@ define Device/enterasys_ws-ap3715i
KERNEL_NAME := simpleImage.ws-ap3715i
KERNEL_ENTRY := 0x1500000
KERNEL_LOADADDR := 0x1500000
KERNEL = kernel-bin | lzma | uImage lzma
KERNEL = kernel-bin | libdeflate-gzip | uImage gzip
IMAGES := sysupgrade.bin
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
endef