mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 17:37:40 +06:00
Don't search for TEENSY_LOADER_CLI if it's already defined
This commit is contained in:
parent
7ea8753b72
commit
ba405cfbb4
|
@ -87,11 +87,13 @@ DEBUG_PORT = 4242
|
||||||
DEBUG_HOST = localhost
|
DEBUG_HOST = localhost
|
||||||
|
|
||||||
#============================================================================
|
#============================================================================
|
||||||
# Autodecct teensy loader
|
# Autodetect teensy loader
|
||||||
ifneq (, $(shell which teensy-loader-cli 2>/dev/null))
|
ifndef TEENSY_LOADER_CLI
|
||||||
TEENSY_LOADER_CLI ?= teensy-loader-cli
|
ifneq (, $(shell which teensy-loader-cli 2>/dev/null))
|
||||||
else
|
TEENSY_LOADER_CLI ?= teensy-loader-cli
|
||||||
TEENSY_LOADER_CLI ?= teensy_loader_cli
|
else
|
||||||
|
TEENSY_LOADER_CLI ?= teensy_loader_cli
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Program the device.
|
# Program the device.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user