From 040016a5cf97752d34acd4563cb5f02b3711cbd6 Mon Sep 17 00:00:00 2001 From: luocai Date: Fri, 28 Jun 2024 15:33:38 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9B=B4=E6=96=B0=E6=9E=84=E5=BB=BA=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/build.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/resources/build.sh b/resources/build.sh index 0712f83..8cc1fe8 100755 --- a/resources/build.sh +++ b/resources/build.sh @@ -3,7 +3,7 @@ cross_compile=true build_hisi=false debug_deploy=false -TARGET_IP="172.16.103.79" +TARGET_IP="172.16.103.92" TARGET_PATH="/system/bin" base_path=$(pwd) libraries_root="/opt/Libraries" @@ -147,13 +147,9 @@ function deploy_old(){ if [ $build_hisi = true ]; then 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 + 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 -j4 else - # docker run --rm -v .:$(pwd) -w $(pwd) b020_dev protoc --nanopb_out=./ 3rdparty/rwSrvProtocol/PacketModel_all.proto - # make PLATFORM=rv1109 server_protocol - # if [ $? -ne 0 ]; then - # exit 1 - # fi + docker run -it --rm --user 1000:1000 -v /opt:/opt -v $(pwd):$(pwd) -w $(pwd) -e PATH="/opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin:$PATH" frp-by1.wwvvww.cn:45288/nanopb:0.3.9.3 make PLATFORM=rv1109 server_protocol make PLATFORM=rv1109 -j4 fi if [ $? -ne 0 ]; then @@ -181,7 +177,7 @@ function deploy_old(){ if [ $build_hisi = true ]; then - echo "." + scp -i ~/Projects/ssh_host_rsa_key_ok ./3rdparty/arm-himix200-linux/rwStageProtocol/lib/librwSrvProtocol.so root@${TARGET_IP}:/system/lib/ ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "reboot" else # scp -i ~/Projects/ssh_host_rsa_key_ok ./3rdparty/arm-linux-gnueabihf/librwhscheckpw/lib/librwhscheckpw.so root@${TARGET_IP}:/system/lib/