From 7ea374a4c791267dfc202ce561d7e3423213b50a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 8 Jul 2026 14:05:54 -0700 Subject: [PATCH] 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 --- target/linux/loongarch64/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3