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:
parent
4dc67679a4
commit
842b7e37c8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user