summaryrefslogtreecommitdiffstats
path: root/support/dependencies/check-host-cmake.mk
blob: 5604713de6a5a3ea80cfe74a5591c54ae129abb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Set this to either 3.8 or higher, depending on the highest minimum
# version required by any of the packages bundled in Buildroot. If a
# package is bumped or a new one added, and it requires a higher
# version, our cmake infra will catch it and build its own.
#
BR2_CMAKE_VERSION_MIN = 3.8

BR2_CMAKE_CANDIDATES ?= cmake cmake3
BR2_CMAKE ?= $(call suitable-host-package,cmake,\
	$(BR2_CMAKE_VERSION_MIN) $(BR2_CMAKE_CANDIDATES))
ifeq ($(BR2_CMAKE),)
BR2_CMAKE = $(HOST_DIR)/bin/cmake
BR2_CMAKE_HOST_DEPENDENCY = host-cmake
endif
OpenPOWER on IntegriCloud