1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.include: also do 'cleanterm' after 'flash-only'

Harmonize with `term`.
This commit is contained in:
Gaëtan Harter 2019-10-10 11:52:20 +02:00
parent 3a6f6bc4d9
commit 2c3c275694
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -646,7 +646,7 @@ term: $(filter flash flash-only, $(MAKECMDGOALS)) $(TERMDEPS)
# Term without the pyterm added logging
# TERMFLAGS must be exported for `jlink.sh term_rtt`.
cleanterm: export PYTERMFLAGS += --noprefix --no-repeat-command-on-empty-line
cleanterm: $(filter flash, $(MAKECMDGOALS)) $(TERMDEPS)
cleanterm: $(filter flash flash-only, $(MAKECMDGOALS)) $(TERMDEPS)
$(call check_cmd,$(TERMPROG),Terminal program)
$(TERMPROG) $(TERMFLAGS)