aboutsummaryrefslogtreecommitdiff
path: root/go/chromeos/go_elm_exec
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-04-28 20:24:56 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-28 20:24:56 +0000
commit656c7c0fa0d9b776c019f5423e01a9a28979d2bd (patch)
tree220a95d346d58fa5090d8033991bcfef2ad03d99 /go/chromeos/go_elm_exec
parent091406baac88deeb2ef9c71d5047bd9daf3915ef (diff)
parentccead650bb8e050400f55dc44b60f989b1f8e117 (diff)
downloadtoolchain-utils-q_tzdata_aml_297100000.tar.gz
Change-Id: I3464301d9b41d48e11dfd361a411d60a1bd5a429
Diffstat (limited to 'go/chromeos/go_elm_exec')
-rwxr-xr-xgo/chromeos/go_elm_exec12
1 files changed, 12 insertions, 0 deletions
diff --git a/go/chromeos/go_elm_exec b/go/chromeos/go_elm_exec
new file mode 100755
index 00000000..da244c2e
--- /dev/null
+++ b/go/chromeos/go_elm_exec
@@ -0,0 +1,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 "$@"