summaryrefslogtreecommitdiff
path: root/support/dependencies/check-host-xzcat.mk
blob: 5e08b6e8866e2b2105d77a38acf7906cdf17e27e (plain)
1
2
3
4
5
6
7
# XZCAT is taken from BR2_XZCAT (defaults to 'xzcat') (see Makefile)
# If it is not present, build our own host-xzcat

ifeq (,$(call suitable-host-package,xzcat,$(XZCAT)))
DEPENDENCIES_HOST_PREREQ += host-xz
XZCAT = $(HOST_DIR)/usr/bin/xzcat
endif