summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@gmx.at>2017-10-04 03:46:51 +0200
committerNico Huber <nico.h@gmx.de>2017-10-05 10:41:23 +0000
commit5bf6b855d4083070390b5c0eb03bca678090d75d (patch)
treeee7e58ceb379e20056a6a393f97b749ab29acee0 /Makefile
parent8eb1df69ab22829d61366e7d8e4eca6d7ed13657 (diff)
downloadflashrom-5bf6b855d4083070390b5c0eb03bca678090d75d.tar.gz
flashrom-5bf6b855d4083070390b5c0eb03bca678090d75d.tar.bz2
flashrom-5bf6b855d4083070390b5c0eb03bca678090d75d.zip
fixup! Convert flashrom to git
Rename getrevision's local_revision function to just revision. All revisions are local in git and we certainly wont go back to a non-distributed VCS :) Change-Id: I6689ac24077b3981b471ed69de7cc3ef79d435b1 Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at> Reviewed-on: https://review.coreboot.org/21829 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3349f033e..d0145809e 100644
--- a/Makefile
+++ b/Makefile
@@ -530,7 +530,7 @@ CLI_OBJS = cli_classic.o cli_output.o cli_common.o print.o
# export rule. If versioninfo.inc is not found, version info will be obtained
# using util/getrevision.sh.
ifeq ($(wildcard versioninfo.inc),)
-VERSION ?= $(shell ./util/getrevision.sh --local)
+VERSION ?= $(shell ./util/getrevision.sh --revision)
MAN_DATE ?= $(shell ./util/getrevision.sh --date $(PROGRAM).8.tmpl 2>/dev/null)
else
include versioninfo.inc