there is no magic SRC_VERSION variable: use something that works instead

parent e8de2946
Pipeline #44570 passed with stage
in 6 minutes and 17 seconds
...@@ -8,7 +8,7 @@ Index: firmware-tomu/toboot/Makefile ...@@ -8,7 +8,7 @@ Index: firmware-tomu/toboot/Makefile
ADD_LFLAGS = ADD_LFLAGS =
-GIT_VERSION= $(shell git describe --tags) -GIT_VERSION= $(shell git describe --tags)
+GIT_VERSION := $(shell echo $(SRC_VERSION)) +GIT_VERSION := $(shell dpkg-parsechangelog -l ../debian/changelog -S Version)
TRGT ?= arm-none-eabi- TRGT ?= arm-none-eabi-
CC = $(TRGT)gcc CC = $(TRGT)gcc
CXX = $(TRGT)g++ CXX = $(TRGT)g++
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