build-host 236 B

1234567891011121314
  1. #!/bin/bash
  2. set -e
  3. cd $(dirname $0)/..
  4. export OUTPUT=bin/host_ros
  5. if [[ -e bin/ros && "$HOST_ARCH" = "$ARCH" ]]; then
  6. echo Creating $OUTPUT
  7. cp bin/ros $OUTPUT
  8. else
  9. GOARCH=${HOST_ARCH} TOOLCHAIN= ./scripts/build-target
  10. fi