mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make: riotboot: ensure epoch in APP_VER is evaluated once
This commit is contained in:
parent
23c918805e
commit
4546469e7b
@ -17,7 +17,8 @@ export SLOT0_OFFSET SLOT0_LEN SLOT1_OFFSET SLOT1_LEN
|
||||
ifeq (1, RIOT_CI_BUILD)
|
||||
APP_VER ?= 0
|
||||
else
|
||||
APP_VER ?= $(shell date +%s)
|
||||
EPOCH := $(shell date +%s)
|
||||
APP_VER ?= $(EPOCH)
|
||||
endif
|
||||
|
||||
# Final target for slot 0 with riot_hdr
|
||||
|
Loading…
Reference in New Issue
Block a user