From 842b7e37c868061fe501cfd7f53dee3623b15681 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Fri, 10 Jan 2020 10:49:29 +0100 Subject: [PATCH] bootloaders/riotboot: set RIOTBOOT_BUILD Set a make variables to indicate `riotboot` application (riots bootloader) is being built. --- bootloaders/riotboot/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootloaders/riotboot/Makefile b/bootloaders/riotboot/Makefile index 0419c85017..1adb5771f0 100644 --- a/bootloaders/riotboot/Makefile +++ b/bootloaders/riotboot/Makefile @@ -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