Skip to content

Commit

Permalink
Explicit expansion of date within makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
siliconwitch committed Feb 22, 2023
1 parent e1298e7 commit 0162ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0162ff6

Please sign in to comment.