diff options
author | Paul Spooren <mail@aparcar.org> | 2024-02-13 01:03:44 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2024-04-13 08:05:04 +0200 |
commit | 2496f436a837f4d56a13883497ab5d07fb01d0f7 (patch) | |
tree | eb895554b34c903c3a191a92a6a1902d21236cc6 /target/llvm-bpf | |
parent | 98235e60ed8436ca9476c3bc84a8f1feb553a764 (diff) | |
download | openwrt-2496f436a837f4d56a13883497ab5d07fb01d0f7.tar.gz openwrt-2496f436a837f4d56a13883497ab5d07fb01d0f7.tar.bz2 openwrt-2496f436a837f4d56a13883497ab5d07fb01d0f7.zip |
build: use zstd for IB, toolchain, SDK and LLVM compression
Use similar efficient but faster compression algorithm.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'target/llvm-bpf')
-rw-r--r-- | target/llvm-bpf/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/llvm-bpf/Makefile b/target/llvm-bpf/Makefile index 6cadf693ef..a61bda923a 100644 --- a/target/llvm-bpf/Makefile +++ b/target/llvm-bpf/Makefile @@ -12,11 +12,11 @@ override MAKEFLAGS= LLVM_VERSION := $(shell cat $(STAGING_DIR_HOST)/llvm-bpf/.llvm-version) LLVM_BPF_PREFIX := llvm-bpf-$(LLVM_VERSION).$(HOST_OS)-$(HOST_ARCH) -LLVM_TAR := $(BIN_DIR)/$(LLVM_BPF_PREFIX).tar.xz +LLVM_TAR := $(BIN_DIR)/$(LLVM_BPF_PREFIX).tar.zst $(LLVM_TAR): $(STAGING_DIR_HOST)/llvm-bpf/.llvm-version tar -C $(STAGING_DIR_HOST) \ - -I '$(STAGING_DIR_HOST)/bin/xz -7e -T$(if $(filter 1,$(NPROC)),2,0)' \ + -I '$(STAGING_DIR_HOST)/bin/zstd -T0 --ultra -20' \ $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \ -cf $@.tmp llvm-bpf $(LLVM_BPF_PREFIX) mv $@.tmp $@ |