From e46844260b0d350793aff592b374f91c1d69316e Mon Sep 17 00:00:00 2001 From: Edward Chow Date: Thu, 30 Apr 2026 05:52:10 +0800 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/23121 Signed-off-by: Robert Marko --- target/linux/mpc85xx/image/p1010.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mpc85xx/image/p1010.mk b/target/linux/mpc85xx/image/p1010.mk index f366cde969..9a4c0d84e4 100644 --- a/target/linux/mpc85xx/image/p1010.mk +++ b/target/linux/mpc85xx/image/p1010.mk @@ -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