OLD | NEW |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 # AUTO-GENERATED by buildscript.sh; DO NOT EDIT. | 2 # AUTO-GENERATED by buildscript.sh; DO NOT EDIT. |
3 # This script builds the go command (written in Go), | 3 # This script builds the go command (written in Go), |
4 # and then the go command can build the rest of the tree. | 4 # and then the go command can build the rest of the tree. |
5 | 5 |
6 export GOOS=linux | 6 export GOOS=linux |
7 export GOARCH=arm | 7 export GOARCH=arm |
8 export WORK=$(mktemp -d -t go-build.XXXXXX) | 8 export WORK=$(mktemp -d -t go-build.XXXXXX) |
9 trap "rm -rf $WORK" EXIT SIGINT SIGTERM | 9 trap "rm -rf $WORK" EXIT SIGINT SIGTERM |
10 set -e | 10 set -e |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 "$GOROOT"/bin/go-tool/pack grc "$WORK"/text/template.a "$WORK"/text/template/_ob
j/_go_.5 | 487 "$GOROOT"/bin/go-tool/pack grc "$WORK"/text/template.a "$WORK"/text/template/_ob
j/_go_.5 |
488 mkdir -p "$GOROOT"/pkg/linux_arm/text/ | 488 mkdir -p "$GOROOT"/pkg/linux_arm/text/ |
489 cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_arm/text/template.a | 489 cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_arm/text/template.a |
490 | 490 |
491 # | 491 # |
492 # cmd/go | 492 # cmd/go |
493 # | 493 # |
494 | 494 |
495 mkdir -p "$WORK"/cmd/go/_obj/ | 495 mkdir -p "$WORK"/cmd/go/_obj/ |
496 cd "$GOROOT"/src/cmd/go | 496 cd "$GOROOT"/src/cmd/go |
497 "$GOROOT"/bin/go-tool/5g -o "$WORK"/cmd/go/_obj/_go_.5 -p cmd/go -I "$WORK" ./bo
otstrap.go ./build.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go ./main.go .
/pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.g
o | 497 "$GOROOT"/bin/go-tool/5g -o "$WORK"/cmd/go/_obj/_go_.5 -p cmd/go -I "$WORK" ./bo
otstrap.go ./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./list.go
./main.go ./pkg.go ./root.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go
./version.go ./vet.go |
498 "$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.5 | 498 "$GOROOT"/bin/go-tool/pack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.5 |
499 "$GOROOT"/bin/go-tool/5l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.
a | 499 "$GOROOT"/bin/go-tool/5l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.
a |
500 mkdir -p "$GOBIN"/ | 500 mkdir -p "$GOBIN"/linux_arm/ |
501 cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go_bootstrap | 501 cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/linux_arm/go |
OLD | NEW |