aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-07-10 13:50:07 +0300
committerJack Humbert <jack.humb@gmail.com>2017-07-10 09:00:18 -0400
commitba405cfbb4b887af8007edfeed4d9fc43766d911 (patch)
treea4b13ed8c9e91f81e003a97576b92977c644c376
parent7ea8753b72ed7ddecdcb2db5b223ca920f8155b3 (diff)
downloadqmk_firmware-ba405cfbb4b887af8007edfeed4d9fc43766d911.tar.gz
qmk_firmware-ba405cfbb4b887af8007edfeed4d9fc43766d911.zip
Don't search for TEENSY_LOADER_CLI if it's already defined
-rw-r--r--tmk_core/avr.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk
index a36d219dd..6773726ee 100644
--- a/tmk_core/avr.mk
+++ b/tmk_core/avr.mk
@@ -87,11 +87,13 @@ DEBUG_PORT = 4242
87DEBUG_HOST = localhost 87DEBUG_HOST = localhost
88 88
89#============================================================================ 89#============================================================================
90# Autodecct teensy loader 90# Autodetect teensy loader
91ifneq (, $(shell which teensy-loader-cli 2>/dev/null)) 91ifndef TEENSY_LOADER_CLI
92 TEENSY_LOADER_CLI ?= teensy-loader-cli 92 ifneq (, $(shell which teensy-loader-cli 2>/dev/null))
93else 93 TEENSY_LOADER_CLI ?= teensy-loader-cli
94 TEENSY_LOADER_CLI ?= teensy_loader_cli 94 else
95 TEENSY_LOADER_CLI ?= teensy_loader_cli
96 endif
95endif 97endif
96 98
97# Program the device. 99# Program the device.