build-host 229 B

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