blob: 81b8e6254a27b85abef7862de2aa85840fff11a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#-------------------------------------------------------------------------------
# Copyright (c) 2020, Nordic Semiconductor ASA.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
cmake_policy(SET CMP0076 NEW)
set(CMAKE_CURRENT_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR})
set(NRF_BOARD_SELECTED True)
add_subdirectory(../common/nrf5340 nrf5340)
target_include_directories(platform_region_defs
INTERFACE
../common/nrf5340/partition
)
target_sources(platform_s
PRIVATE
$<$<BOOL:${TFM_PARTITION_PLATFORM}>:${CMAKE_CURRENT_SOURCE_DIR}/services/src/tfm_platform_system.c>
)
target_include_directories(platform_s
PUBLIC
.
../common/nrf5340/partition
)
target_include_directories(platform_ns
PUBLIC
.
)
if(BL2)
target_include_directories(platform_bl2
PUBLIC
../common/nrf5340/partition
PRIVATE
.
)
endif()
|