Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaspar030/ddedc16fa9927df6727bc97d8b3ed2c6 to your computer and use it in GitHub Desktop.
Save kaspar030/ddedc16fa9927df6727bc97d8b3ed2c6 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment