Unverified Commit d1afec04 authored by Massimiliano Pippi's avatar Massimiliano Pippi Committed by GitHub

add archives for ARM v6 (#341)

parent eb1091cf
......@@ -35,6 +35,22 @@ builds:
# ARM
id: arduino_cli_arm
binary: arduino-cli
env:
- CGO_ENABLED=1
- CC=/usr/arm-linux-gnueabi/bin/cc
goos:
- linux
goarch:
- arm
goarm:
- 6
ldflags:
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
- "-extldflags '-static'"
-
# ARMv7
id: arduino_cli_armv7
binary: arduino-cli
env:
- CGO_ENABLED=1
- CC=/usr/arm-linux-gnueabihf/bin/cc
......
......@@ -34,7 +34,7 @@ initArch() {
ARCH=$(uname -m)
case $ARCH in
armv5*) ARCH="armv5";;
armv6*) ARCH="armv6";;
armv6*) ARCH="ARMv6";;
armv7*) ARCH="ARMv7";;
aarch64) ARCH="ARM64";;
x86) ARCH="32bit";;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment