1
0
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:
Kaspar Schleiser 2019-03-18 17:05:19 +01:00
parent 23c918805e
commit 4546469e7b

View File

@ -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