mirror of
https://github.com/jmwtsn/qmk_firmware.git
synced 2026-06-03 19:53:31 -03:00
QMK CLI Environment bootstrapper (#25038)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Pascal Getreuer <getreuer@google.com>
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
|
||||
# Autodetect teensy loader
|
||||
ifndef TEENSY_LOADER_CLI
|
||||
ifneq (, $(shell which teensy-loader-cli 2>/dev/null))
|
||||
TEENSY_LOADER_CLI ?= teensy-loader-cli
|
||||
else
|
||||
ifneq (, $(shell which teensy_loader_cli 2>/dev/null))
|
||||
TEENSY_LOADER_CLI ?= teensy_loader_cli
|
||||
else
|
||||
TEENSY_LOADER_CLI ?= teensy-loader-cli
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@@ -77,10 +77,10 @@ st-flash: $(BUILD_DIR)/$(TARGET).hex sizeafter
|
||||
|
||||
# Autodetect teensy loader
|
||||
ifndef TEENSY_LOADER_CLI
|
||||
ifneq (, $(shell which teensy-loader-cli 2>/dev/null))
|
||||
TEENSY_LOADER_CLI ?= teensy-loader-cli
|
||||
else
|
||||
ifneq (, $(shell which teensy_loader_cli 2>/dev/null))
|
||||
TEENSY_LOADER_CLI ?= teensy_loader_cli
|
||||
else
|
||||
TEENSY_LOADER_CLI ?= teensy-loader-cli
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user