[Buildroot] [PATCH 0/3] Support a list of "cmake" candidates

Carlos Santos casantos at datacom.ind.br
Fri May 5 20:30:28 UTC 2017


On CentOS 7 the "cmake" package installs cmake 2.8.12, which is too old
for us but the "cmake3" package (from EPEL) provides cmake 3.6.3, which
is good enough.

This series adds support to a list of candidates to be checked instead
of resorting to host-cmake if "cmake" does not exist or is too old.

Patch 1 modifies check-host-cmake.sh to support a list of candidates and
the minimal version, keeping compatibility with the previous syntax.

Patch 2 Introduces the BR2_CMAKE_CANDIDATES in check-host-cmake.mk, still
keeping compatible with the previous behavior.

Patch 3 adds "cmake3" to the list of cmake candidates.

Carlos Santos (3):
  core: allow check-host-cmake.sh to check several candidates
  core: allow having a list of "cmake" candidates
  core: add "cmake3" to the list of cmake candidates

 support/dependencies/check-host-cmake.mk |  7 ++--
 support/dependencies/check-host-cmake.sh | 66 ++++++++++++++++----------------
 2 files changed, 38 insertions(+), 35 deletions(-)

-- 
1.8.3.1



More information about the buildroot mailing list