]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mpc85xx: ws-ap3715i: use libdeflate-gzip for kernel
authorEdward Chow <equu@openmail.cc>
Wed, 29 Apr 2026 21:52:10 +0000 (05:52 +0800)
committerRobert Marko <robimarko@gmail.com>
Tue, 5 May 2026 12:09:38 +0000 (14:09 +0200)
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>
target/linux/mpc85xx/image/p1010.mk

index f366cde969df4a32240ba251e0de81f8091f25de..9a4c0d84e425ce2142222aa452eba15c04b3011c 100644 (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