summaryrefslogblamecommitdiffstats
path: root/support/dependencies/check-host-tar.mk
blob: 010bde7a51db4279fbc6b769808aaef9c3d9ada3 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                          
TAR ?= tar

ifeq (,$(call suitable-host-package,tar,$(TAR)))
  DEPENDENCIES_HOST_PREREQ += host-tar
  TAR = $(HOST_DIR)/usr/bin/tar
endif

# Since TAR is at least 1.17, it will certainly support --strip-components
TAR_STRIP_COMPONENTS = --strip-components