diff options
author | Raef Coles <raef.coles@arm.com> | 2020-10-19 14:14:14 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2020-11-03 10:26:38 +0000 |
commit | 698173275839bbe1f724e3f8c580578fdf3371d3 (patch) | |
tree | e78e879cf9d8b9760c1c4d4ebb6cb9a36b1b35c8 /docs/design_documents/profiles/tfm_profile_small.rst | |
parent | 940ac5111a7d7bcba94dbe5e977206b8643b0dad (diff) | |
download | trusted-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 'docs/design_documents/profiles/tfm_profile_small.rst')
-rw-r--r-- | docs/design_documents/profiles/tfm_profile_small.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/design_documents/profiles/tfm_profile_small.rst b/docs/design_documents/profiles/tfm_profile_small.rst index c500f50049..abd49c8c8f 100644 --- a/docs/design_documents/profiles/tfm_profile_small.rst +++ b/docs/design_documents/profiles/tfm_profile_small.rst @@ -583,7 +583,7 @@ build type **MinSizeRel**, built by **Armclang**. cd <TFM root dir> mkdir build && cd build cmake -DTFM_PLATFORM=mps2/an521 \ - -DCMAKE_TOOLCHAIN_FILE=../toolchain_ARMCLANG.cmake \ + -DTFM_TOOLCHAIN_FILE=../toolchain_ARMCLANG.cmake \ -DTFM_PROFILE=profile_small \ -DCMAKE_BUILD_TYPE=MinSizeRel \ ../ @@ -597,7 +597,7 @@ with build type **MinSizeRel**, built by **Armclang**. cd <TFM root dir> mkdir build && cd build cmake -DTFM_PLATFORM=mps2/an521 \ - -DCMAKE_TOOLCHAIN_FILE=../toolchain_ARMCLANG.cmake \ + -DTFM_TOOLCHAIN_FILE=../toolchain_ARMCLANG.cmake \ -DTFM_PROFILE=profile_small \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DTEST_S=ON -DTEST_NS=ON \ |