aboutsummaryrefslogtreecommitdiff
path: root/go/chromeos/go_elm32_exec
diff options
context:
space:
mode:
Diffstat (limited to 'go/chromeos/go_elm32_exec')
-rwxr-xr-xgo/chromeos/go_elm32_exec12
1 files changed, 12 insertions, 0 deletions
diff --git a/go/chromeos/go_elm32_exec b/go/chromeos/go_elm32_exec
new file mode 100755
index 00000000..3e115a9a
--- /dev/null
+++ b/go/chromeos/go_elm32_exec
@@ -0,0 +1,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 "$@"