mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
Merge pull request #829 from masahir0y/build
Makefile: use git describe for BUILD_STRING
This commit is contained in:
commit
2866ea1437
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -111,7 +111,7 @@ endif
|
|||
|
||||
# Default build string (git branch and commit)
|
||||
ifeq (${BUILD_STRING},)
|
||||
BUILD_STRING := $(shell git log -n 1 --pretty=format:"%h")
|
||||
BUILD_STRING := $(shell git describe --always --dirty --tags 2> /dev/null)
|
||||
endif
|
||||
VERSION_STRING := v${VERSION_MAJOR}.${VERSION_MINOR}(${BUILD_TYPE}):${BUILD_STRING}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue