From b90185ef8c3fe0abf8d173c1aab56f7f620e248a Mon Sep 17 00:00:00 2001 From: Anders Hoglund Date: Fri, 9 Dec 2016 01:05:08 +0100 Subject: [PATCH] Build date and rev was not updated on incremental builds. Fixed. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f2edc40d58..f66541d3ea 100644 --- a/Makefile +++ b/Makefile @@ -831,6 +831,9 @@ CLEAN_ARTIFACTS := $(TARGET_BIN) CLEAN_ARTIFACTS += $(TARGET_HEX) CLEAN_ARTIFACTS += $(TARGET_ELF) $(TARGET_OBJS) $(TARGET_MAP) +# Make sure build date and revision is updated on every incremental build +$(OBJECT_DIR)/$(TARGET)/build/version.o : $(TARGET_SRC) + # List of buildable ELF files and their object dependencies. # It would be nice to compute these lists, but that seems to be just beyond make.