diff --git a/Makefile.include b/Makefile.include
index 313385ba21772278b717c978fe6d999571661f25..18abfdc4c14c33ac2b9ad0b3758470464ec696e7 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -567,7 +567,7 @@ include $(RIOTMAKE)/vars.inc.mk
 include $(RIOTMAKE)/tools/targets.inc.mk
 
 # Warn if the selected board and drivers don't provide all needed features:
-ifneq (, $(filter all, $(if $(MAKECMDGOALS), $(MAKECMDGOALS), all)))
+ifneq (, $(filter all flash, $(if $(MAKECMDGOALS), $(MAKECMDGOALS), all)))
   EXPECT_ERRORS :=
   EXPECT_CONFLICT :=