aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/ext/cryptocell-312-runtime/CMakeLists.txt2
-rw-r--r--lib/ext/qcbor/CMakeLists.txt2
-rw-r--r--lib/ext/t_cose/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/ext/cryptocell-312-runtime/CMakeLists.txt b/lib/ext/cryptocell-312-runtime/CMakeLists.txt
index 46f6c8437..18f1c70d8 100644
--- a/lib/ext/cryptocell-312-runtime/CMakeLists.txt
+++ b/lib/ext/cryptocell-312-runtime/CMakeLists.txt
@@ -5,7 +5,7 @@
#
#-------------------------------------------------------------------------------
-cmake_minimum_required(VERSION 3.13)
+cmake_minimum_required(VERSION 3.15)
project("CC312 Runtime Library" LANGUAGES C ASM)
diff --git a/lib/ext/qcbor/CMakeLists.txt b/lib/ext/qcbor/CMakeLists.txt
index 106406e7b..d0c92fd32 100644
--- a/lib/ext/qcbor/CMakeLists.txt
+++ b/lib/ext/qcbor/CMakeLists.txt
@@ -5,7 +5,7 @@
#
#-------------------------------------------------------------------------------
-cmake_minimum_required(VERSION 3.13)
+cmake_minimum_required(VERSION 3.15)
add_library(tfm_qcbor STATIC)
diff --git a/lib/ext/t_cose/CMakeLists.txt b/lib/ext/t_cose/CMakeLists.txt
index 68f265881..d06fc7656 100644
--- a/lib/ext/t_cose/CMakeLists.txt
+++ b/lib/ext/t_cose/CMakeLists.txt
@@ -5,7 +5,7 @@
#
#-------------------------------------------------------------------------------
-cmake_minimum_required(VERSION 3.13)
+cmake_minimum_required(VERSION 3.15)
add_library(tfm_t_cose STATIC)