aboutsummaryrefslogtreecommitdiff
path: root/bl2/CMakeLists.txt
diff options
context:
space:
mode:
authorSherry Zhang <sherry.zhang2@arm.com>2021-01-07 14:19:41 +0800
committerDavid Hu <david.hu@arm.com>2021-03-19 08:03:00 +0100
commit07b42416f64dab413579ee5a63cbd22f5117cb8e (patch)
treef01fd5fc27dc060f6072f2dcabdf43e65f466ad1 /bl2/CMakeLists.txt
parent973c4f4c51a7998e70a4b92adc20d7a3091a048f (diff)
downloadtrusted-firmware-m-07b42416f64dab413579ee5a63cbd22f5117cb8e.tar.gz
FWU: Add Firmware Update partition
Firmware Update(FWU) partition provides the functionality of updating firmware images. This patch implemented the partition in Library mode. Change-Id: I736477549b055c64cd8106ad57c3ad7b1b2007ee Signed-off-by: Sherry Zhang <sherry.zhang2@arm.com>
Diffstat (limited to 'bl2/CMakeLists.txt')
-rw-r--r--bl2/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/bl2/CMakeLists.txt b/bl2/CMakeLists.txt
index bab9901858..73deeb81f4 100644
--- a/bl2/CMakeLists.txt
+++ b/bl2/CMakeLists.txt
@@ -12,6 +12,7 @@ project("Bootloader" VERSION 0.1.0 LANGUAGES C ASM)
add_executable(bl2
src/security_cnt.c
src/flash_map.c
+ $<$<BOOL:${MCUBOOT_DATA_SHARING}>:src/shared_data.c>
)
add_subdirectory(ext/mcuboot)