${DEVKIT_TA_PATH}/lib
)
-SET(DEVKIT_TA_TARGET ta-core)
-
-ADD_LIBRARY(${DEVKIT_TA_TARGET} STATIC
- ${DEVKIT_TA_PATH}/src/user_ta_header.c
- )
-
# MACRO GENERATE_TA_IMAGE unifies compiling dependencies and signing/encrypting
# Parameters:
# TargetName [in] - name of target that represent TA
MACRO(GENERATE_TA_IMAGE TargetName TAElfTargetName TAConfDir TAImageName)
# Dependency to compiled linker script
- ADD_DEPENDENCIES(${TAElfTargetName} ta-core-ld ${DEVKIT_TA_TARGET})
+ ADD_DEPENDENCIES(${TAElfTargetName} ta-core-ld)
# Add config header of built TA
INCLUDE_DIRECTORIES(${TAConfDir}/optee/include)
- TARGET_LINK_LIBRARIES(${TAElfTargetName} ${DEVKIT_TA_TARGET})
+ TARGET_SOURCES(${TAElfTargetName} PUBLIC ${DEVKIT_TA_PATH}/src/user_ta_header.c)
SET(STRIPPED_TARGET_FILE ${TAElfTargetName}.strip)
Name: optee-ta-devkit
Description: OpTEE TA development kit
Version: @PKGCFG_VERSION@
-Libs.private: -L${libdir} -lutee -lpng -lzlib -lutils -lmpa -lta-core -lutee -lutils -lgcc_eh
+Libs.private: -L${libdir} -lutee -lpng -lzlib -lutils -lmpa -lutee -lutils -lgcc_eh
Cflags: -I${includedir}/