Skip to content

Commit b509444

Browse files
committed
CMake platform: remove MBED_PATH, use <PROJECT_NAME>_SOURCE_DIR
1 parent bdd377c commit b509444

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/scripts/mbed_set_post_build_tfm.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2021 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
include(${MBED_PATH}/tools/cmake/mbed_set_post_build.cmake)
4+
include(${mbed-os_SOURCE_DIR}/tools/cmake/mbed_set_post_build.cmake)
55

66
#
77
# Sign TF-M secure and non-secure images and combine them with the bootloader
@@ -17,7 +17,7 @@ function(mbed_post_build_tfm_sign_image
1717
set(mbed_target_name ${mbed_target})
1818
set(post_build_command
1919
COMMAND ${Python3_EXECUTABLE}
20-
${MBED_PATH}/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/scripts/generate_mbed_image.py
20+
${mbed-os_SOURCE_DIR}/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/scripts/generate_mbed_image.py
2121
--tfm-target ${tfm_target}
2222
--target-path ${target_path}
2323
--secure-bin ${secure_bin}

0 commit comments

Comments
 (0)