| #------------------------------------------------------------------------------- |
| # Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. |
| # |
| # SPDX-License-Identifier: BSD-3-Clause |
| # |
| #------------------------------------------------------------------------------- |
| |
| ifeq (,${TS_INSTALL_PREFIX}) |
| $(error TS_INSTALL_PREFIX is not defined!) |
| endif |
| |
| ifeq (,${@EXPORT_SP_UUID@-included}) |
| @EXPORT_SP_UUID@-included=y |
| endif |
| |
| ifeq (embedded,${SP_PACKAGING_METHOD}) |
| OPTEE_OS_COMMON_EXTRA_FLAGS+=EARLY_TA_PATHS+=${TS_INSTALL_PREFIX}/opteesp/bin/@EXPORT_SP_UUID@.stripped.elf |
| TS_SP_DTSI_LIST+="\\n\#include \"${TS_INSTALL_PREFIX}/opteesp/manifest/@EXPORT_SP_UUID@.dtsi\"" |
| else ifeq (fip,${SP_PACKAGING_METHOD}) |
| TS_SP_JSON_LIST+=${TS_INSTALL_PREFIX}/opteesp/json/@EXPORT_SP_NAME@.json |
| endif |