Skip to content

Commit

Permalink
bootloaders/riotboot: set RIOTBOOT_BUILD
Browse files Browse the repository at this point in the history
Set a make variables to indicate `riotboot` application (riots
bootloader) is being built.
  • Loading branch information
fjmolinas committed Jan 10, 2020
1 parent 4dc6767 commit 842b7e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bootloaders/riotboot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 842b7e3

Please sign in to comment.