check-host-cmake.mk 534 B

1234567891011121314
  1. # Set this to either 3.10 or higher, depending on the highest minimum
  2. # version required by any of the packages bundled in Buildroot. If a
  3. # package is bumped or a new one added, and it requires a higher
  4. # version, our cmake infra will catch it and build its own.
  5. #
  6. BR2_CMAKE_VERSION_MIN = 3.10
  7. BR2_CMAKE_CANDIDATES ?= cmake cmake3
  8. BR2_CMAKE ?= $(call suitable-host-package,cmake,\
  9. $(BR2_CMAKE_VERSION_MIN) $(BR2_CMAKE_CANDIDATES))
  10. ifeq ($(BR2_CMAKE),)
  11. BR2_CMAKE = $(HOST_DIR)/bin/cmake
  12. BR2_CMAKE_HOST_DEPENDENCY = host-cmake
  13. endif