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

# Copy and remotely execute a binary on the elm 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="arm64" \
	GOLOADER="/tmp/glibc/ld.so" \
	exec go_target_exec elm "$@"