summaryrefslogtreecommitdiff
path: root/tmk_core/avr.mk
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2018-01-28 11:11:28 -0800
committerGitHub <noreply@github.com>2018-01-28 11:11:28 -0800
commit9bfaf66792310fae2d525633b280b354babca026 (patch)
tree16e801302a9adfa6fcacb3ab16d1244b52ca0200 /tmk_core/avr.mk
parentf0f991dd89733b7dc9ca54042923c031b3b3ca73 (diff)
downloadqmk_firmware-9bfaf66792310fae2d525633b280b354babca026.tar.gz
qmk_firmware-9bfaf66792310fae2d525633b280b354babca026.zip
Always copy the firmware file to the root qmk_firmware directory (#2314)
* Always copy the firmware file to the root qmk_firmware directory * remove circular dependency
Diffstat (limited to 'tmk_core/avr.mk')
-rw-r--r--tmk_core/avr.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk
index 30d4fe26ee..24722736ee 100644
--- a/tmk_core/avr.mk
+++ b/tmk_core/avr.mk
@@ -136,7 +136,7 @@ flip: $(BUILD_DIR)/$(TARGET).hex check-size
DFU_PROGRAMMER ?= dfu-programmer
-dfu: $(BUILD_DIR)/$(TARGET).hex check-size
+dfu: $(BUILD_DIR)/$(TARGET).hex cpfirmware check-size
until $(DFU_PROGRAMMER) $(MCU) get bootloader-version; do\
echo "Error: Bootloader not found. Trying again in 5s." ;\
sleep 5 ;\