summaryrefslogtreecommitdiff
path: root/tmk_core/chibios.mk
diff options
context:
space:
mode:
authorAdam Lee2017-05-07 14:36:10 -0700
committerAdam Lee2017-05-07 14:36:10 -0700
commitf2fcab96a8dd8cc70d6785da76621c48df1af94c (patch)
tree9be0967ab0d3795e6d20299988c84280f3ad98f6 /tmk_core/chibios.mk
parentf90321bdcbcbd196ee642cdd8cc31aa0f6ac121e (diff)
parent2704c163da590d3020f6d87717c400611de81110 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tmk_core/chibios.mk')
-rw-r--r--tmk_core/chibios.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk
index eb0c40138..2a8d32fb9 100644
--- a/tmk_core/chibios.mk
+++ b/tmk_core/chibios.mk
@@ -151,5 +151,7 @@ endif
# List any extra directories to look for libraries here.
EXTRALIBDIRS = $(RULESPATH)/ld
+DFU_UTIL ?= dfu-util
+
dfu-util: $(BUILD_DIR)/$(TARGET).bin sizeafter
- dfu-util $(DFU_ARGS) -D $(BUILD_DIR)/$(TARGET).bin
+ $(DFU_UTIL) $(DFU_ARGS) -D $(BUILD_DIR)/$(TARGET).bin