diff --git a/Makefile.cross-compiles b/Makefile.cross-compiles index 2cb5ab24..5f4daf69 100644 --- a/Makefile.cross-compiles +++ b/Makefile.cross-compiles @@ -3,10 +3,16 @@ export GO15VENDOREXPERIMENT := 1 all: build -build: gox app +build: gox app more gox: go get github.com/mitchellh/gox app: gox -osarch "darwin/386 darwin/amd64 linux/386 linux/amd64 linux/arm windows/386 windows/amd64" ./src/... + +more: + env GOOS=linux GOARCH=mips64 go build -o ./frpc_linux_mips64 ./src/cmd/frpc + env GOOS=linux GOARCH=mips64 go build -o ./frps_linux_mips64 ./src/cmd/frps + env GOOS=linux GOARCH=mips64le go build -o ./frpc_linux_mips64le ./src/cmd/frpc + env GOOS=linux GOARCH=mips64le go build -o ./frps_linux_mips64le ./src/cmd/frps diff --git a/package.sh b/package.sh index 5cbe6a67..9b73e93e 100755 --- a/package.sh +++ b/package.sh @@ -15,7 +15,7 @@ rm -rf ./packages mkdir ./packages os_all='linux windows darwin' -arch_all='386 amd64 arm' +arch_all='386 amd64 arm mips64 mips64le' for os in $os_all; do for arch in $arch_all; do