Skip to content

Commit 5f64a54

Browse files
danieldegrassecfriedt
authored andcommitted
lib: tenstorrent: banner: use APPLICATION_SOURCE_DIR for git describe
Use APPLICATION_SOURCE_DIR for the `git describe` step- otherwise, git describe will fail when building the application from outside of the tt-zephyr-platforms repo Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 01e3e9f commit 5f64a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tenstorrent/banner/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ zephyr_library_sources(tt_banner.c)
66
if(CONFIG_TT_BOOT_BANNER_GIT_VERSION)
77

88
include(${ZEPHYR_BASE}/cmake/modules/git.cmake)
9-
git_describe(. TT_GIT_VERSION)
9+
git_describe(${APPLICATION_SOURCE_DIR} TT_GIT_VERSION)
1010
zephyr_library_compile_definitions(TT_GIT_VERSION="${TT_GIT_VERSION}")
1111

1212
endif()

0 commit comments

Comments
 (0)