Skip to content
Commit 5e7e1cba authored by Martí Bolívar's avatar Martí Bolívar Committed by Anas Nashif
Browse files

cmake: fix git describe command line



The "git describe" call for setting the boot banner is broken. The
--work-tree option sets the checked out work tree, not the directory
containing .git, which is where git describe needs to look for
information on tags.

Use -C instead so it's as if Git were run from the zephyr base
directory instead.

Signed-off-by: default avatarMarti Bolivar <marti@opensourcefoundries.com>
parent 2d71236a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment