diff options
Diffstat (limited to 'services')
-rw-r--r-- | services/std_svc/spm/spm.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/services/std_svc/spm/spm.mk b/services/std_svc/spm/spm.mk index 889c77d25..a191f6ff1 100644 --- a/services/std_svc/spm/spm.mk +++ b/services/std_svc/spm/spm.mk @@ -11,6 +11,8 @@ ifneq (${ARCH},aarch64) $(error "Error: SPM is only supported on aarch64.") endif +include lib/sprt/sprt_host.mk + SPM_SOURCES := $(addprefix services/std_svc/spm/, \ ${ARCH}/spm_helpers.S \ ${ARCH}/spm_shim_exceptions.S \ @@ -18,8 +20,10 @@ SPM_SOURCES := $(addprefix services/std_svc/spm/, \ sp_xlat.c \ spci.c \ spm_main.c \ - sprt.c) + sprt.c) \ + ${SPRT_LIB_SOURCES} +INCLUDES += ${SPRT_LIB_INCLUDES} # Force SMC Calling Convention 2 when using SPM SMCCC_MAJOR_VERSION := 2 |