1# 2# Copyright (c) 2021 Nordic Semiconductor ASA 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7add_library(tfm_app_rot_partition_dp STATIC) 8 9target_include_directories(tfm_app_rot_partition_dp 10 INTERFACE 11 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> 12 PRIVATE 13 ${CMAKE_BINARY_DIR}/dummy_partition 14) 15target_include_directories(tfm_partitions 16 INTERFACE 17 ${CMAKE_BINARY_DIR}/dummy_partition 18) 19 20target_sources(tfm_app_rot_partition_dp 21 PRIVATE 22 dummy_partition.c 23) 24 25# The generated sources 26target_sources(tfm_app_rot_partition_dp 27 PRIVATE 28 ${CMAKE_BINARY_DIR}/dummy_partition/auto_generated/intermedia_tfm_dummy_partition.c 29) 30target_sources(tfm_partitions 31 INTERFACE 32 ${CMAKE_BINARY_DIR}/dummy_partition/auto_generated/load_info_tfm_dummy_partition.c 33) 34 35target_link_libraries(tfm_app_rot_partition_dp 36 PRIVATE 37 platform_s 38 tfm_sprt 39 psa_crypto_config 40) 41 42target_link_libraries(tfm_spm 43 PRIVATE 44 tfm_app_rot_partition_dp 45) 46 47############################ Partition Defs #################################### 48 49target_link_libraries(tfm_partitions 50 INTERFACE 51 tfm_app_rot_partition_dp 52) 53 54target_compile_definitions(tfm_config 55 INTERFACE 56 TFM_PARTITION_DUMMY_PARTITION 57) 58