Commit 659bf156 authored by Sandrine Bailleux's avatar Sandrine Bailleux Committed by TrustedFirmware Code Review
Browse files

Merge "Fix build type is empty in version string" into integration

parents 65808674 f1de4c8f
...@@ -94,12 +94,6 @@ endif ...@@ -94,12 +94,6 @@ endif
export Q ECHO export Q ECHO
# Default build string (git branch and commit)
ifeq (${BUILD_STRING},)
BUILD_STRING := $(shell git describe --always --dirty --tags 2> /dev/null)
endif
VERSION_STRING := v${VERSION_MAJOR}.${VERSION_MINOR}(${BUILD_TYPE}):${BUILD_STRING}
# The cert_create tool cannot generate certificates individually, so we use the # The cert_create tool cannot generate certificates individually, so we use the
# target 'certificates' to create them all # target 'certificates' to create them all
ifneq (${GENERATE_COT},0) ifneq (${GENERATE_COT},0)
...@@ -281,6 +275,12 @@ else ...@@ -281,6 +275,12 @@ else
LOG_LEVEL := 20 LOG_LEVEL := 20
endif endif
# Default build string (git branch and commit)
ifeq (${BUILD_STRING},)
BUILD_STRING := $(shell git describe --always --dirty --tags 2> /dev/null)
endif
VERSION_STRING := v${VERSION_MAJOR}.${VERSION_MINOR}(${BUILD_TYPE}):${BUILD_STRING}
ifeq (${AARCH32_INSTRUCTION_SET},A32) ifeq (${AARCH32_INSTRUCTION_SET},A32)
TF_CFLAGS_aarch32 += -marm TF_CFLAGS_aarch32 += -marm
else ifeq (${AARCH32_INSTRUCTION_SET},T32) else ifeq (${AARCH32_INSTRUCTION_SET},T32)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment