diff options
Diffstat (limited to 'components/rpc/ffarpc/caller/linux/component.cmake')
-rw-r--r-- | components/rpc/ffarpc/caller/linux/component.cmake | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/components/rpc/ffarpc/caller/linux/component.cmake b/components/rpc/ffarpc/caller/linux/component.cmake index 3bab840ee..ec5387c95 100644 --- a/components/rpc/ffarpc/caller/linux/component.cmake +++ b/components/rpc/ffarpc/caller/linux/component.cmake @@ -1,14 +1,19 @@ #------------------------------------------------------------------------------- -# Copyright (c) 2020, Arm Limited and Contributors. All rights reserved. +# Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # #------------------------------------------------------------------------------- -if (NOT DEFINED TGT) +if(NOT DEFINED TGT) message(FATAL_ERROR "mandatory parameter TGT is not defined.") endif() +include(${TS_ROOT}/external/LinuxFFAUserShim/LinuxFFAUserShim.cmake) + target_sources(${TGT} PRIVATE "${CMAKE_CURRENT_LIST_DIR}/ffarpc_caller.c" - ) +) +target_include_directories(${TGT} PRIVATE + "${LINUX_FFA_USER_SHIM_INCLUDE_DIR}" +) |