1
0
mirror of https://github.com/rancher/os.git synced 2025-06-05 21:22:31 +00:00
os/scripts/build-host
2016-05-06 10:58:54 -07:00

13 lines
229 B
Bash
Executable File

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