Skip to content

Commit b6c19b7

Browse files
tomi-fontadeaarm
authored andcommitted
build: remove the warning when the version Git tag is not found
In the case of Zephyr's integration of TF-M, the Git tags of the upstream TF-M repo are not fetched. This resulted in this warning firing up at every build for every user while in fact it does not require any action from the user, and is just noise. Thus remove it. Change-Id: I9fc78ff89e978a0622e80d59dadc8dcfeeb7e553 Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
1 parent f8eabe2 commit b6c19b7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmake/version.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ execute_process(COMMAND git describe --tags --always
1919
string(FIND ${TFM_VERSION_FULL} "TF-M" TFM_TAG)
2020
if(TFM_TAG EQUAL -1)
2121
set(TFM_VERSION_FULL v${TFM_VERSION_MANUAL})
22-
message(WARNING "Actual TF-M version is not available from Git repository. Settled to " ${TFM_VERSION_FULL})
2322
endif()
2423

2524
string(REGEX REPLACE "TF-M" "" TFM_VERSION_FULL ${TFM_VERSION_FULL})

0 commit comments

Comments
 (0)