buildroot/support/dependencies/check-host-zstd.mk
Matt Staveley-Taylor 7d0707cae4 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>
2024-07-14 22:47:15 +02:00

5 lines
131 B
Makefile

ifeq (,$(call suitable-host-package,zstd,$(ZSTDCAT)))
BR2_ZSTD_HOST_DEPENDENCY = host-zstd
ZSTDCAT = $(HOST_DIR)/bin/zstdcat
endif