From 106380d481a2fe841d89ff05ab0a54f4cdaee918 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Fri, 18 Feb 2011 20:11:46 +0100 Subject: DC: Don't use $(VER_REV) with git It seems unlikely that git will ever be able to produce a $(VER_REV) of 6 characters or less (the requirement for the version field in IP.BIN), so don't even try to use it. --- backends/platform/dc/dreamcast.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/platform/dc') diff --git a/backends/platform/dc/dreamcast.mk b/backends/platform/dc/dreamcast.mk index d53af90585..8651a2936c 100644 --- a/backends/platform/dc/dreamcast.mk +++ b/backends/platform/dc/dreamcast.mk @@ -29,7 +29,7 @@ IP.BIN : ip.txt ip.txt : $(srcdir)/backends/platform/dc/ip.txt.in if [ x"$(VER_EXTRA)" = xgit ]; then \ - if [ -z "$(VER_REV)" ]; then ver="GIT"; else ver="r$(VER_REV)"; fi; \ + ver="GIT"; \ else ver="V$(VERSION)"; fi; \ if expr "$$ver" : V...... >/dev/null; then \ ver="V$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)"; fi; \ -- cgit v1.2.3