File: 0001_Makefile_GIT_VERSION.patch

package info (click to toggle)
firmware-tomu 2.0~rc7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,104 kB
  • sloc: ansic: 7,007; makefile: 301; xml: 15; sh: 12
file content (14 lines) | stat: -rw-r--r-- 493 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Use the debian package version for GIT_VERSION
Index: firmware-tomu/toboot/Makefile
===================================================================
--- firmware-tomu.orig/toboot/Makefile
+++ firmware-tomu/toboot/Makefile
@@ -2,7 +2,7 @@ PACKAGE    = toboot
 ADD_CFLAGS =
 ADD_LFLAGS = 
 
-GIT_VERSION= $(shell git describe --tags)
+GIT_VERSION := $(shell dpkg-parsechangelog -l ../debian/changelog -S Version)
 TRGT      ?= arm-none-eabi-
 CC         = $(TRGT)gcc
 CXX        = $(TRGT)g++