mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
package: add support for extracting zstd archives
Teach the generic package handling code how to extract zstd (.tar.zst) archives. When zstd is not installed on the host, host-zstd gets built automatically. Signed-off-by: Matt Staveley-Taylor <matt.stav.taylor@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
2ca698051c
commit
7d0707cae4
4
support/dependencies/check-host-zstd.mk
Normal file
4
support/dependencies/check-host-zstd.mk
Normal file
@@ -0,0 +1,4 @@
|
||||
ifeq (,$(call suitable-host-package,zstd,$(ZSTDCAT)))
|
||||
BR2_ZSTD_HOST_DEPENDENCY = host-zstd
|
||||
ZSTDCAT = $(HOST_DIR)/bin/zstdcat
|
||||
endif
|
||||
Reference in New Issue
Block a user