This commit is contained in:
John Poole 2026-04-24 16:31:03 -07:00
commit 04afd13532
6 changed files with 685 additions and 0 deletions

View file

@ -0,0 +1,13 @@
import time
Import("env")
epoch = int(time.time())
utc_tag = time.strftime("%Y%m%d_%H%M%S", time.gmtime(epoch))
env.Append(
CPPDEFINES=[
("BUILD_EPOCH", str(epoch)),
("FW_BUILD_EPOCH", str(epoch)),
("FW_BUILD_UTC", '\"%s\"' % utc_tag),
]
)