aboutsummaryrefslogtreecommitdiff
path: root/go/chromeos/go_elm32_exec
blob: 3e115a9a127773311ac90618d4ae096a30b7d6f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# Copy and remotely execute a binary on the elm32 device.
#
# For this to work, the corresponding entry must exist in
# ~/.ssh/config and the device must already be setup for
# password-less authentication. See setup instructions at
# http://go/chromeos-toolchain-team/go-toolchain

GOOS="linux" GOARCH="arm" \
	GOLOADER="/tmp/glibc32/ld.so" \
	exec go_target_exec elm32 "$@"