python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / support / dependencies / dependencies.mk
blobd4b0409cda322511376e3201c43591070bcafe41
1 ################################################################################
3 # Check buildroot dependencies and bail out if the user's
4 # system is judged to be lacking....
6 ################################################################################
8 # suitable-host-pkg: calls check-host-$(1).sh shell script. Parameter (2)
9 # can be the candidate to be checked. If not present, the check-host-$(1).sh
10 # script should use 'which' to find a candidate. The script should return
11 # the path to the suitable host tool, or nothing if no suitable tool was found.
12 define suitable-host-package
13 $(shell support/dependencies/check-host-$(1).sh $(2))
14 endef
15 -include $(sort $(wildcard support/dependencies/check-host-*.mk))
17 ifeq ($(BR2_CCACHE),y)
18 DEPENDENCIES_HOST_PREREQ += host-ccache
19 endif
21 core-dependencies:
22 @HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
23 DL_TOOLS="$(sort $(DL_TOOLS_DEPENDENCIES))" \
24 $(TOPDIR)/support/dependencies/dependencies.sh
26 dependencies: HOSTCC=$(HOSTCC_NOCCACHE)
27 dependencies: HOSTCXX=$(HOSTCXX_NOCCACHE)
28 dependencies: core-dependencies $(DEPENDENCIES_HOST_PREREQ)
30 ################################################################################
32 # Toplevel Makefile options
34 ################################################################################
35 .PHONY: dependencies core-dependencies