mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
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 <mail@aparcar.org> [ improve commit title ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
c922c78094
commit
706f0e395f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user