aboutsummaryrefslogtreecommitdiff
path: root/bl2
diff options
context:
space:
mode:
authorRaef Coles <raef.coles@arm.com>2020-10-19 14:14:14 +0100
committerSoby Mathew <soby.mathew@arm.com>2020-11-03 10:26:38 +0000
commit698173275839bbe1f724e3f8c580578fdf3371d3 (patch)
treee78e879cf9d8b9760c1c4d4ebb6cb9a36b1b35c8 /bl2
parent940ac5111a7d7bcba94dbe5e977206b8643b0dad (diff)
downloadtrusted-firmware-m-698173275839bbe1f724e3f8c580578fdf3371d3.tar.gz
Build: Refactor toolchain files
Change from a CMAKE toolchain file to a TFM toolchain file, avoiding some abuses of the CMAKE_TOOLCHAIN_FILE that were used as a workaround for compiler setup. Also add the CROSS_COMPILE variable. Bump cmake required version to 3.15. Change-Id: I0948033045e2d2f34beffa807925fc7375098335 Signed-off-by: Raef Coles <raef.coles@arm.com>
Diffstat (limited to 'bl2')
-rw-r--r--bl2/CMakeLists.txt2
-rw-r--r--bl2/ext/mcuboot/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/bl2/CMakeLists.txt b/bl2/CMakeLists.txt
index 9d069c22e9..1496a19317 100644
--- a/bl2/CMakeLists.txt
+++ b/bl2/CMakeLists.txt
@@ -5,7 +5,7 @@
#
#-------------------------------------------------------------------------------
-cmake_minimum_required(VERSION 3.13)
+cmake_minimum_required(VERSION 3.15)
project("Bootloader" VERSION 0.1.0 LANGUAGES C ASM)
diff --git a/bl2/ext/mcuboot/CMakeLists.txt b/bl2/ext/mcuboot/CMakeLists.txt
index 7b056e7e35..ef8afe8bab 100644
--- a/bl2/ext/mcuboot/CMakeLists.txt
+++ b/bl2/ext/mcuboot/CMakeLists.txt
@@ -5,7 +5,7 @@
#
#------------------------------------------------------------------------------
-cmake_minimum_required(VERSION 3.13)
+cmake_minimum_required(VERSION 3.15)
cmake_policy(SET CMP0079 NEW)
set(MCUBOOT_KEY_ENC "${MCUBOOT_PATH}/enc-rsa2048-pub.pem" CACHE FILEPATH "Path to key with which to encrypt binary")