#!/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 "$@" |