Skip to content
Snippets Groups Projects
Commit 3098a277 authored by Hauke Petersen's avatar Hauke Petersen
Browse files

Makefile.include: add optional TERMDEPS to make term

parent a3907c99
No related branches found
No related tags found
No related merge requests found
...@@ -370,7 +370,7 @@ flash: all $(FLASHDEPS) ...@@ -370,7 +370,7 @@ flash: all $(FLASHDEPS)
preflash: all preflash: all
$(PREFLASHER) $(PREFFLAGS) $(PREFLASHER) $(PREFFLAGS)
term: $(filter flash, $(MAKECMDGOALS)) term: $(filter flash, $(MAKECMDGOALS)) $(TERMDEPS)
@command -v $(TERMPROG) >/dev/null 2>&1 || \ @command -v $(TERMPROG) >/dev/null 2>&1 || \
{ $(COLOR_ECHO) \ { $(COLOR_ECHO) \
'${COLOR_RED}Terminal program $(TERMPROG) not found. Aborting.${COLOR_RESET}'; \ '${COLOR_RED}Terminal program $(TERMPROG) not found. Aborting.${COLOR_RESET}'; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment