From cfcb863ec65718bdf24d056e6baa230e634ee7b6 Mon Sep 17 00:00:00 2001 From: francisco Date: Thu, 23 May 2019 13:25:49 +0200 Subject: [PATCH] sys/Makefile.include: fix riotboot headers include - If riotboot_slot wasn't included explicitly, e.g. when only setting FEATURES_REQUIRED+=riotboot riotboot slot definitions were not present and therefore build failed. --- sys/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/Makefile.include b/sys/Makefile.include index 827bc8aa33..1779637afa 100644 --- a/sys/Makefile.include +++ b/sys/Makefile.include @@ -77,7 +77,7 @@ ifneq (,$(filter printf_float,$(USEMODULE))) endif endif -ifneq (,$(filter riotboot_%,$(USEMODULE))) +ifneq (,$(filter riotboot,$(FEATURES_USED))) include $(RIOTBASE)/sys/riotboot/Makefile.include endif