From 3474d9bc83193d4152ea10065d5897483712187a Mon Sep 17 00:00:00 2001 From: The Thor Group Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Add dated postfix for non-VCS builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d8feac5..bc193e5 100755 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ ccflags-y += -std=gnu99 -fgnu89-inline -Wno-declaration-after-statement ccflags-y += -I$(src)/compat/toolkit/include ifndef RP_VERSION_POSTFIX -RP_VERSION_POSTFIX := $(shell git rev-parse --is-inside-work-tree 1>/dev/null 2>/dev/null && echo -n "git-" && git log -1 --pretty='%h' 2>/dev/null || echo "???") +RP_VERSION_POSTFIX := $(shell git rev-parse --is-inside-work-tree 1>/dev/null 2>/dev/null && echo -n "git-" && git log -1 --pretty='%h' 2>/dev/null || date '+at-%Y_%m_%d-%H_%M_%S') endif ccflags-y += -DRP_VERSION_POSTFIX="\"$(RP_VERSION_POSTFIX)\""