diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-02-16 09:56:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-16 09:56:17 +0000 |
commit | 2866ea1437af45a13ee3400132c03b7fd14806df (patch) | |
tree | a04ad4a65e6af0e75e06aeb38574999d4ac7029b /Makefile | |
parent | 7a1c268fd80e85fa00998533d8993c660682e88d (diff) | |
parent | bee71c7a806fd3856af2ebfbe117fef38e29f343 (diff) |
Merge pull request #829 from masahir0y/build
Makefile: use git describe for BUILD_STRING
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} |