Bump minimum CMake version

Compatibility with versions <3.10 is going away.
As it happens, we're not using any CMake features that have changed
between 3.7 and 3.16, so bump the lowest version to 3.16.

Also remove the minimum version statement from the platform config
files --- they're all very simple files that are version independent;
and the version is checked elsewhere anyway.

Also, Fix style issue

A commit to fix style to make the PR go through.

Signed-off-by: Peter Chubb <Peter.Chubb@unsw.edu.au>
This commit is contained in:
Peter Chubb
2025-02-26 11:46:58 +11:00
committed by Peter Chubb
parent 475f0911fc
commit e7bb62d2ce
59 changed files with 34 additions and 105 deletions

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)
# Set the cmake compilation flags with kernel base flags
# This allows, for example, user compilation to ensure they are building for the same

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
cmake_minimum_required(VERSION 3.8.2)
cmake_minimum_required(VERSION 3.16.0)
# Wrapper function around find_file that generates a fatal error if it isn't found
# Is equivalent to find_file except that it adds CMAKE_CURRENT_SOURCE_DIR as a path and sets

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)
# File for helpers that are very specific to the kernel