1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

bootloaders/riotboot: set RIOTBOOT_BUILD

Set a make variables to indicate `riotboot` application (riots
bootloader) is being built.
This commit is contained in:
Francisco Molina 2020-01-10 10:49:29 +01:00
parent 4dc67679a4
commit 842b7e37c8

View File

@ -7,6 +7,8 @@ BOARD ?= samr21-xpro
# Select the boards with riotboot feature
FEATURES_REQUIRED += riotboot
# Set RIOTBOOT_BUILD to indicate a riotboot application build
RIOTBOOT_BUILD = 1
# Provide a define to detect if building the bootloader
CFLAGS += -DRIOTBOOT