corstone1000: Add --measured-boot-record option to BL1

The change is needed after the below commit:

Change-Id: I1b072d0a3b4f405500ee8b62e198314764252fda

----
commit 3fa12f2faf2966c99b9d7476ef840f02110df716
Boot: Add --measured-boot-record option to wrapper.py
----

Change-Id: I3c7c72cb132100a9788defa895f2f12ef59243d6
Signed-off-by: Satish Kumar <satish.kumar01@arm.com>
diff --git a/platform/ext/target/arm/corstone1000/bl1/CMakeLists.txt b/platform/ext/target/arm/corstone1000/bl1/CMakeLists.txt
index d39c5ae..e4c3cbc 100644
--- a/platform/ext/target/arm/corstone1000/bl1/CMakeLists.txt
+++ b/platform/ext/target/arm/corstone1000/bl1/CMakeLists.txt
@@ -299,6 +299,10 @@
         ../partition
 )
 
+if (CONFIG_TFM_BOOT_STORE_MEASUREMENTS)
+    set(MCUBOOT_MEASURED_BOOT ON)
+endif()
+
 add_custom_target(bl2_signed_bin
     ALL
     SOURCES bl2_signed.bin
@@ -322,6 +326,7 @@
         -d \"\(0,${MCUBOOT_S_IMAGE_MIN_VER}\)\"
         $<$<STREQUAL:${MCUBOOT_UPGRADE_STRATEGY},OVERWRITE_ONLY>:--overwrite-only>
         $<$<BOOL:${MCUBOOT_ENC_IMAGES}>:-E${MCUBOOT_KEY_ENC}>
+        $<$<BOOL:${MCUBOOT_MEASURED_BOOT}>:--measured-boot-record>
         $<TARGET_FILE_DIR:bl2>/bl2.bin
         ${CMAKE_CURRENT_BINARY_DIR}/bl2_signed.bin
     COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/bl2_signed.bin $<TARGET_FILE_DIR:bl2>