modules: uoscore-uedhoc: Make the library build with TFM
Following the same pattern as in the other libraries/samples, add TFM include directory explicitly when building uoscore library, to mitigate the problem of redefined header files in TFM. When TFM is enabled, headers from TFM should be used, not mbed TLS ones. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
f602c72773
commit
561f220686
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,12 @@ if (CONFIG_UOSCORE OR CONFIG_UEDHOC)
|
|||
|
||||
zephyr_library_link_libraries(mbedTLS)
|
||||
|
||||
if (CONFIG_BUILD_WITH_TFM)
|
||||
zephyr_library_include_directories(
|
||||
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
|
||||
)
|
||||
endif()
|
||||
|
||||
# UOSCORE
|
||||
|
||||
if (CONFIG_UOSCORE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue