Allow overriding version
In order to use the same version as the board firmware we need to be able to specify the version string for the EC. Ref: https://github.com/system76/firmware-open/issues/75
This commit is contained in:
parent
a8b38d6b37
commit
2a86572f2b
2
Makefile
2
Makefile
@ -10,7 +10,7 @@ endif
|
|||||||
# Calculate version
|
# Calculate version
|
||||||
DATE=$(shell git show --format="%cd" --date="format:%Y-%m-%d" --no-patch)
|
DATE=$(shell git show --format="%cd" --date="format:%Y-%m-%d" --no-patch)
|
||||||
REV=$(shell git describe --always --dirty)
|
REV=$(shell git describe --always --dirty)
|
||||||
VERSION=$(DATE)_$(REV)
|
VERSION?=$(DATE)_$(REV)
|
||||||
|
|
||||||
# Set build directory
|
# Set build directory
|
||||||
BUILD=build/$(BOARD)/$(VERSION)
|
BUILD=build/$(BOARD)/$(VERSION)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user