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:
parent
594558ec7b
commit
9c2ca00074
15 changed files with 1033 additions and 91 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue