mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00

Commit 09d40e0e08
("Sanitise includes across codebase") modified the
include paths of the TSP includes but it didn't remove the include path
from the makefile or did the same for TLK. This patch does the remaining
work.
Change-Id: Iecee2e88fabcd06989d35568c3a4c1f4e7d93572
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
46 lines
1.5 KiB
Makefile
46 lines
1.5 KiB
Makefile
#
|
|
# Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
TSPD_DIR := services/spd/tspd
|
|
|
|
ifeq (${ERROR_DEPRECATED},0)
|
|
SPD_INCLUDES := -Iinclude/bl32/tsp
|
|
endif
|
|
|
|
SPD_SOURCES := services/spd/tspd/tspd_common.c \
|
|
services/spd/tspd/tspd_helpers.S \
|
|
services/spd/tspd/tspd_main.c \
|
|
services/spd/tspd/tspd_pm.c
|
|
|
|
# This dispatcher is paired with a Test Secure Payload source and we intend to
|
|
# build the Test Secure Payload along with this dispatcher.
|
|
#
|
|
# In cases where an associated Secure Payload lies outside this build
|
|
# system/source tree, the the dispatcher Makefile can either invoke an external
|
|
# build command or assume it pre-built
|
|
|
|
BL32_ROOT := bl32/tsp
|
|
|
|
# Include SP's Makefile. The assumption is that the TSP's build system is
|
|
# compatible with that of Trusted Firmware, and it'll add and populate necessary
|
|
# build targets and variables
|
|
include ${BL32_ROOT}/tsp.mk
|
|
|
|
# Let the top-level Makefile know that we intend to build the SP from source
|
|
NEED_BL32 := yes
|
|
|
|
# Flag used to enable routing of non-secure interrupts to EL3 when they are
|
|
# generated while the code is executing in S-EL1/0.
|
|
TSP_NS_INTR_ASYNC_PREEMPT := 0
|
|
|
|
ifeq ($(EL3_EXCEPTION_HANDLING),1)
|
|
ifeq ($(TSP_NS_INTR_ASYNC_PREEMPT),0)
|
|
$(error When EL3_EXCEPTION_HANDLING=1, TSP_NS_INTR_ASYNC_PREEMPT must also be 1)
|
|
endif
|
|
endif
|
|
|
|
$(eval $(call assert_boolean,TSP_NS_INTR_ASYNC_PREEMPT))
|
|
$(eval $(call add_define,TSP_NS_INTR_ASYNC_PREEMPT))
|