123456789101112131415161718 |
- #!/bin/bash
- git submodule init
- git submodule update
- echo Building the build tool...
- GOBIN="$(pwd)/util" GOPATH="$(pwd)/util/third_party:$(pwd)/util" go get -d harvey/cmd/... # should really vendor these bits
- GOBIN="$(pwd)/util" GOPATH="$(pwd)/util/third_party:$(pwd)/util" go install github.com/rminnich/ninep/srv/examples/ufs harvey/cmd/...
- # this will make booting a VM easier
- mkdir -p tmp
- cat <<EOF
- # We support RISC-V, but the default is x86_64 (which we call amd64 for historical reasons):
- export ARCH=amd64
- # And build:
- ./util/build
- # See \`build -h' for more information on the build tool.
- EOF
|