blob: 1a5c670f2042a8dd7941500cf200c3fe566418f9 [file] [log] [blame]
Gyorgy Szing49091802020-11-24 00:33:09 +01001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8#-------------------------------------------------------------------------------
9# Environment file for deployments to opteesp. This is a cross-compiled
10# enviroment where built executables run within secure partitions
11# with optee acting as the secure partition manager.
12#-------------------------------------------------------------------------------
13set(TS_ENV "opteesp" CACHE STRING "Environment identifier")
14
15# Default to using the base toolcahin file for the enviroment
16set(TS_BASE_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/default_toolchain_file.cmake" CACHE STRING "Base toolchainfile")
17
18# Replicate in environment variable for access from child cmake contexts
19set(ENV{TS_BASE_TOOLCHAIN_FILE} "${TS_BASE_TOOLCHAIN_FILE}")
20
21# Set toolchain files to use
22set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/default_toolchain_file.cmake" CACHE STRING "Toolchain file")
23set(TS_EXTERNAL_LIB_TOOLCHAIN_FILE "${CMAKE_TOOLCHAIN_FILE}" CACHE STRING "External lib Toolchain file")