diff --git a/resources/build.sh b/resources/build.sh index 2b8915c..0712f83 100755 --- a/resources/build.sh +++ b/resources/build.sh @@ -2,7 +2,7 @@ cross_compile=true build_hisi=false -debug_deploy=true +debug_deploy=false TARGET_IP="172.16.103.79" TARGET_PATH="/system/bin" base_path=$(pwd) @@ -146,8 +146,8 @@ function deploy_old(){ # fi if [ $build_hisi = true ]; then - docker run --rm -v /opt:/opt -v .:$(pwd) -w $(pwd) b020_dev make server_protocol - docker run --rm -v /opt:/opt -v .:$(pwd) -w $(pwd) b020_dev make + docker run -it --rm --user 1000:1000 -v /opt:/opt -v $(pwd):$(pwd) -w $(pwd) frp-by1.wwvvww.cn:45288/nanopb:0.3.9.3 make server_protocol + docker run -it --rm --user 1000:1000 -v /opt:/opt -v $(pwd):$(pwd) -w $(pwd) frp-by1.wwvvww.cn:45288/nanopb:0.3.9.3 make -j6 else # docker run --rm -v .:$(pwd) -w $(pwd) b020_dev protoc --nanopb_out=./ 3rdparty/rwSrvProtocol/PacketModel_all.proto # make PLATFORM=rv1109 server_protocol