1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:52:44 +01:00

riotboot: use epoch as APP_VER default

This commit is contained in:
Kaspar Schleiser 2019-03-14 12:04:56 +01:00
parent 8969fd32e9
commit 09a40fb6fc

View File

@ -27,8 +27,8 @@ export SLOT0_OFFSET ?= $(RIOTBOOT_LEN)
# export does not work properly with variables using '$(( ))' so evaluate it in a shell
export SLOT1_OFFSET ?= $(shell echo $$(($(SLOT0_OFFSET) + $(SLOT0_LEN))))
# Mandatory APP_VER, set to 0 by default
APP_VER ?= 0
# Mandatory APP_VER, set to epoch by default
APP_VER ?= $(shell date +%s)
# Final target for slot 0 with riot_hdr
SLOT0_RIOT_BIN = $(BINDIR_APP)-slot0.riot.bin