From 2a86572f2bd72f3aa6a4d22187b4dc4787a7571d Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Mon, 6 Apr 2020 14:59:41 -0600 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 98e9037..59fc0e3 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ endif # Calculate version DATE=$(shell git show --format="%cd" --date="format:%Y-%m-%d" --no-patch) REV=$(shell git describe --always --dirty) -VERSION=$(DATE)_$(REV) +VERSION?=$(DATE)_$(REV) # Set build directory BUILD=build/$(BOARD)/$(VERSION)