build: use git to get GITVERSION
This commit is contained in:
parent
47d1503892
commit
97d6ca37ca
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -24,7 +24,7 @@ ifneq (${ARCH}, amd64)
|
|||
KERNEL_ARCH=${ARCH}
|
||||
endif
|
||||
|
||||
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||
GITVERSION:=$(shell git rev-parse HEAD)
|
||||
CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian)
|
||||
export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp -lchangelog.Debian)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue