check-host-tar.mk 256 B

123456789
  1. TAR ?= tar
  2. ifeq (,$(call suitable-host-package,tar,$(TAR)))
  3. DEPENDENCIES_HOST_PREREQ += host-tar
  4. TAR = $(HOST_DIR)/usr/bin/tar
  5. endif
  6. # Since TAR is at least 1.17, it will certainly support --strip-components
  7. TAR_STRIP_COMPONENTS = --strip-components