Move core installation to the makefile

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent 84576b10d4
commit 955c0a2043
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -42,14 +42,6 @@ cmd_configure_arduino_cli() {
fi fi
} }
cmd_install_arduino_core_kaleidoscope() {
_run_arduino_cli core install "keyboardio:avr"
}
cmd_install_arduino_core_avr() {
_run_arduino_cli core install "arduino:avr"
}
_run_arduino_cli() { _run_arduino_cli() {
"${ARDUINO_CLI}" "$@" "${ARDUINO_CLI}" "$@"
} }

@ -30,6 +30,11 @@ install-arduino-cli:
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR="$(KALEIDOSCOPE_BIN_DIR)" sh curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR="$(KALEIDOSCOPE_BIN_DIR)" sh
install-arduino-core-kaleidoscope:
$(ARDUINO_CLI) core install "keyboardio:avr"
install-arduino-core-avr:
$(ARDUINO_CLI) core install "arduino:avr"
decompile: disassemble decompile: disassemble
@: ## Do not remove this line, otherwise `make all` will trigger the `%` rule too. @: ## Do not remove this line, otherwise `make all` will trigger the `%` rule too.

Loading…
Cancel
Save