File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,22 @@ builds:
3535 # ARM
3636 id : arduino_cli_arm
3737 binary : arduino-cli
38+ env :
39+ - CGO_ENABLED=1
40+ - CC=/usr/arm-linux-gnueabi/bin/cc
41+ goos :
42+ - linux
43+ goarch :
44+ - arm
45+ goarm :
46+ - 6
47+ ldflags :
48+ - -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
49+ - " -extldflags '-static'"
50+ -
51+ # ARMv7
52+ id : arduino_cli_armv7
53+ binary : arduino-cli
3854 env :
3955 - CGO_ENABLED=1
4056 - CC=/usr/arm-linux-gnueabihf/bin/cc
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ initArch() {
3434 ARCH=$( uname -m)
3535 case $ARCH in
3636 armv5* ) ARCH=" armv5" ;;
37- armv6* ) ARCH=" armv6 " ;;
37+ armv6* ) ARCH=" ARMv6 " ;;
3838 armv7* ) ARCH=" ARMv7" ;;
3939 aarch64) ARCH=" ARM64" ;;
4040 x86) ARCH=" 32bit" ;;
You can’t perform that action at this time.
0 commit comments