aboutsummaryrefslogtreecommitdiff
path: root/go/chromeos/go_elm_exec
diff options
context:
space:
mode:
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 "$@"