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

Makefile.include: allow prefix for $(PREFLASHER)

Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
This commit is contained in:
Benjamin Valentin 2020-06-11 11:41:45 +02:00
parent a3fa7e330d
commit a74c41061b

View File

@ -711,7 +711,7 @@ flash-only: $(FLASHDEPS)
$(flash-recipe)
preflash: $(BUILD_BEFORE_FLASH)
$(PREFLASHER) $(PREFFLAGS)
$(PREFLASHER_PREFIX)$(PREFLASHER) $(PREFFLAGS)
TERMFLASHDEPS ?= $(filter flash flash-only,$(MAKECMDGOALS))
# Add TERMFLASHDEPS to TERMDEPS so it also applies to `test`