From a74c41061b944a9257720bf0163f5d80de1d73e1 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 11 Jun 2020 11:41:45 +0200 Subject: [PATCH] Makefile.include: allow prefix for $(PREFLASHER) Co-authored-by: Marian Buschsieweke --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`