You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trusted-firmware-m: trusted-firmware-m: bump to upstream TF-Mv1.2-RC2
Synchronize the trusted-firmware-m directory with the
corresponding upstream repository up to commit
368a25f
(TF-Mv1.2-RC2)
Signed-off-by: Ioannis Glaropoulos <[email protected]>
#Legacy compat option - load CMAKE_TOOLCHAIN_FILE as a TFM_TOOLCHAIN_FILE
40
+
if (CMAKE_TOOLCHAIN_FILE)
41
+
message(DEPRECATION "SETTING CMAKE_TOOLCHAIN_FILE is deprecated. It has been replaced with TFM_TOOLCHAIN_FILE.")
42
+
message(DEPRECATION "INTERPRETING -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} as -DTFM_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}")
43
+
set(TFM_TOOLCHAIN_FILE ${CMAKE_TOOLCHAIN_FILE})
44
+
unset(CMAKE_TOOLCHAIN_FILE)
45
45
endif()
46
46
47
-
# Then load the profile, overriding build type config, defaults and command
48
-
# line.
49
-
if (TFM_PROFILE)
50
-
include(config/profile/${TFM_PROFILE}.cmake)
47
+
if (NOTIS_ABSOLUTE${TFM_TOOLCHAIN_FILE})
48
+
message(FATAL_ERROR "SETTING CMAKE_TOOLCHAIN_FILE no longer accepts relative paths. Please supply an absolute path or instead use TFM_TOOLCHAIN_FILE (which does accept relative paths)")
51
49
endif()
52
50
53
-
# Then load the platform options, overriding profile, build type config,
54
-
# defaults and command line.
55
-
if (EXISTS${CMAKE_CURRENT_SOURCE_DIR}/platform/ext/target/${TFM_PLATFORM}/config.cmake)
message(FATAL_ERROR "Target mbedcrypto_bl2 does not exist. Have the patches in ${CMAKE_SOURCE_DIR}/lib/ext/mbedcrypto been applied to the mbedcrypto repo at ${MBEDCRYPTO_PATH} ?
94
+
if(NOTTARGETbl2_mbedcrypto)
95
+
message(FATAL_ERROR "Target bl2_mbedcrypto does not exist. Have the patches in ${CMAKE_SOURCE_DIR}/lib/ext/mbedcrypto been applied to the mbedcrypto repo at ${MBEDCRYPTO_PATH} ?
98
96
Hint: The command might be `cd ${MBEDCRYPTO_PATH} && git apply ${CMAKE_SOURCE_DIR}/lib/ext/mbedcrypto/*.patch`")
0 commit comments