1################################################################################ 2# 3# Check buildroot dependencies and bail out if the user's 4# system is judged to be lacking.... 5# 6################################################################################ 7 8ifeq ($(BR2_FORCE_HOST_BUILD),y) 9# ignore all available host packages 10define suitable-host-package 11endef 12else 13# suitable-host-pkg: calls check-host-$(1).sh shell script. Parameter (2) 14# can be the candidate to be checked. If not present, the check-host-$(1).sh 15# script should use 'which' to find a candidate. The script should return 16# the path to the suitable host tool, or nothing if no suitable tool was found. 17define suitable-host-package 18$(if $(1),$(shell support/dependencies/check-host-$(1).sh $(2))) 19endef 20endif 21# host utilities needs host-tar to extract the source code tarballs, so 22# ensure check-host-tar.mk is included before the rest 23include support/dependencies/check-host-tar.mk 24-include $(sort $(filter-out %-tar.mk,$(wildcard support/dependencies/check-host-*.mk))) 25 26dependencies: 27 @MAKE="$(MAKE)" DL_TOOLS="$(sort $(DL_TOOLS_DEPENDENCIES))" \ 28 $(TOPDIR)/support/dependencies/dependencies.sh 29 30################################################################################ 31# 32# Toplevel Makefile options 33# 34################################################################################ 35.PHONY: dependencies 36