diff --git a/Makefile.include b/Makefile.include index 11135a0cd8..dbffc58186 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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`