From: Paul Spooren Date: Mon, 25 Mar 2024 08:56:18 +0000 (+0100) Subject: include/download.mk: switch to zst compression X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=706f0e395f5392da0a502f1039aa01ca14849ec5;p=openwrt%2Fstaging%2Flinusw.git include/download.mk: switch to zst compression The compression is faster to (un)pack files, make use of it. Also add a new build prerequirement, the `zstd` to (un)pack files. Signed-off-by: Paul Spooren [ improve commit title ] Signed-off-by: Christian Marangi --- diff --git a/include/download.mk b/include/download.mk index ce8a7894b6..960dd816c0 100644 --- a/include/download.mk +++ b/include/download.mk @@ -13,7 +13,7 @@ ifdef PKG_SOURCE_VERSION PKG_VERSION := $(if $(PKG_SOURCE_DATE),$(subst -,.,$(PKG_SOURCE_DATE)),0)~$(call version_abbrev,$(PKG_SOURCE_VERSION)) endif PKG_SOURCE_SUBDIR ?= $(PKG_NAME)-$(PKG_VERSION) - PKG_SOURCE ?= $(PKG_SOURCE_SUBDIR).tar.xz + PKG_SOURCE ?= $(PKG_SOURCE_SUBDIR).tar.zst endif DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED)