aboutsummaryrefslogtreecommitdiff
path: root/support/dependencies/check-host-xzcat.mk
blob: 24286ef5c8e3fac403299db09ad7f6cd98609475 (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