1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/riotboot/Makefile
Francisco Acosta 8f22175af3 riotboot_slot: add second slot compatibility
When a second slot is defined, the "partition table"
gets a second field which represents the starting of
the second slot, at a defined offset.
2019-01-02 17:56:11 +01:00

10 lines
233 B
Makefile

SUBMODULES := 1
ifneq (,$(filter riotboot_slot,$(USEMODULE)))
CFLAGS += -DSLOT0_OFFSET=$(SLOT0_OFFSET)
CFLAGS += -DSLOT1_OFFSET=$(SLOT1_OFFSET)
CFLAGS += -DNUM_SLOTS=$(NUM_SLOTS)
endif
include $(RIOTBASE)/Makefile.base