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>
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