From: Rosen Penev Date: Wed, 8 Jul 2026 21:05:54 +0000 (-0700) Subject: loongarch64: use libdeflate for gzip X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea374a4c791267dfc202ce561d7e3423213b50a;p=thirdparty%2Fopenwrt.git loongarch64: use libdeflate for gzip Shrinks size slightly. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/24147 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/loongarch64/image/Makefile b/target/linux/loongarch64/image/Makefile index 7000356292c..bc2032c6786 100644 --- a/target/linux/loongarch64/image/Makefile +++ b/target/linux/loongarch64/image/Makefile @@ -75,9 +75,9 @@ define Device/generic KERNEL := kernel-bin KERNEL_NAME := vmlinuz.efi IMAGE/rootfs.img := append-rootfs | pad-to $(ROOTFS_PARTSIZE) - IMAGE/rootfs.img.gz := append-rootfs | pad-to $(ROOTFS_PARTSIZE) | gzip + IMAGE/rootfs.img.gz := append-rootfs | pad-to $(ROOTFS_PARTSIZE) | libdeflate-gzip IMAGE/combined-efi.img := grub-config efi | combined | append-metadata - IMAGE/combined-efi.img.gz := grub-config efi | combined | gzip | append-metadata + IMAGE/combined-efi.img.gz := grub-config efi | combined | libdeflate-gzip | append-metadata ifeq ($(CONFIG_TARGET_IMAGES_GZIP),y) IMAGES-y := rootfs.img.gz IMAGES-$$(CONFIG_GRUB_EFI_IMAGES) += combined-efi.img.gz