From 0162ff67203985fa0e4d6d295dae78d5e8902c3d Mon Sep 17 00:00:00 2001 From: Raj Nakarja Date: Wed, 22 Feb 2023 14:51:22 +0100 Subject: [PATCH] Explicit expansion of date within makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f75a1d07..49105d2e 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,8 @@ include micropython/py/py.mk # Define the toolchain prefix for ARM GCC CROSS_COMPILE = arm-none-eabi- -# Use date and time as build version "vYY.DDD.HHMM" -BUILD_VERSION = $(shell TZ= date +v%y.%j.%H%M) +# Use date and time as build version "vYY.DDD.HHMM". := forces evaluation once +BUILD_VERSION := $(shell TZ= date +v%y.%j.%H%M) # Warning options WARN = -Wall -Werror -Wdouble-promotion -Wfloat-conversion