diff --git a/mk/config.mk b/mk/config.mk index a14c4f8326d..c92a0edce69 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -111,7 +111,7 @@ CFG_TEE_IMPL_DESCR ?= OPTEE CFG_OS_REV_REPORTS_GIT_SHA1 ?= y # Trusted OS implementation version -TEE_IMPL_VERSION ?= $(shell git describe --always --dirty=-dev 2>/dev/null || echo Unknown) +TEE_IMPL_VERSION ?= $(shell git describe --always --tags --dirty=-dev 2>/dev/null || echo Unknown) ifeq ($(CFG_OS_REV_REPORTS_GIT_SHA1),y) TEE_IMPL_GIT_SHA1 := 0x$(shell git rev-parse --short=8 HEAD 2>/dev/null || echo 0) else