• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright 2018-2020 NXP
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#
7#------------------------------------------------------------------------------
8#
9# Select the SIP SVC files
10#
11# -----------------------------------------------------------------------------
12
13ifeq (${ADD_SIPSVC},)
14
15ADD_SIPSVC		:= 1
16
17PLAT_SIPSVC_PATH	:= $(PLAT_COMMON_PATH)/sip_svc
18
19SIPSVC_SOURCES		:= ${PLAT_SIPSVC_PATH}/sip_svc.c \
20			   ${PLAT_SIPSVC_PATH}/$(ARCH)/sipsvc.S
21
22PLAT_INCLUDES		+=	-I${PLAT_SIPSVC_PATH}/include
23
24ifeq (${BL_COMM_SIPSVC_NEEDED},yes)
25BL_COMMON_SOURCES	+= ${SIPSVC_SOURCES}
26else
27ifeq (${BL2_SIPSVC_NEEDED},yes)
28BL2_SOURCES		+= ${SIPSVC_SOURCES}
29endif
30ifeq (${BL31_SIPSVC_NEEDED},yes)
31BL31_SOURCES		+= ${SIPSVC_SOURCES}
32endif
33endif
34endif
35# -----------------------------------------------------------------------------
36