diff --git a/Makefile.include b/Makefile.include index 71f4cacd06..fbc3a77c48 100644 --- a/Makefile.include +++ b/Makefile.include @@ -370,7 +370,7 @@ flash: all $(FLASHDEPS) preflash: all $(PREFLASHER) $(PREFFLAGS) -term: $(filter flash, $(MAKECMDGOALS)) +term: $(filter flash, $(MAKECMDGOALS)) $(TERMDEPS) @command -v $(TERMPROG) >/dev/null 2>&1 || \ { $(COLOR_ECHO) \ '${COLOR_RED}Terminal program $(TERMPROG) not found. Aborting.${COLOR_RESET}'; \