From 3098a277edac29678bf2b9725bca01c67e6ded1d Mon Sep 17 00:00:00 2001
From: Hauke Petersen <hauke.petersen@fu-berlin.de>
Date: Thu, 18 May 2017 12:35:47 +0200
Subject: [PATCH] Makefile.include: add optional TERMDEPS to make term

---
 Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}'; \
-- 
GitLab