blob: c44ad59ebbd7fcd7697456d59b08bd3dd086d55f [file] [log] [blame]
Gyorgy Szing49091802020-11-24 00:33:09 +01001#-------------------------------------------------------------------------------
Balint Dobszay36ef73a2021-02-15 18:00:11 +01002# Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
Gyorgy Szing49091802020-11-24 00:33:09 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8ifeq (,${TS_INSTALL_PREFIX})
9 $(error TS_INSTALL_PREFIX is not defined!)
10endif
11
12ifeq (,${@EXPORT_SP_UUID@-included})
13@EXPORT_SP_UUID@-included=y
14endif
15
Balint Dobszay35c6d642021-03-29 18:47:50 +020016ifeq (embedded,${SP_PACKAGING_METHOD})
Balint Dobszay36ef73a2021-02-15 18:00:11 +010017OPTEE_OS_COMMON_EXTRA_FLAGS+=EARLY_TA_PATHS+=${TS_INSTALL_PREFIX}/opteesp/bin/@EXPORT_SP_UUID@.stripped.elf
Balint Dobszay0fdceea2021-03-29 18:39:55 +020018TS_SP_DTSI_LIST+="\\n\#include \"${TS_INSTALL_PREFIX}/opteesp/manifest/@EXPORT_SP_UUID@.dtsi\""
Balint Dobszay35c6d642021-03-29 18:47:50 +020019else ifeq (fip,${SP_PACKAGING_METHOD})
20TS_SP_JSON_LIST+=${TS_INSTALL_PREFIX}/opteesp/json/@EXPORT_SP_NAME@.json
21endif