up_modembin.sh
---
编译modem生成bin文件cp到指定文件夹
up_modembin.sh
#!/bin/bash flag=${1} if [ 0 == $flag ];then # echoMsg "dw" 4 find vendor/mediatek/proprietary/custom/a36*/modem/dw6737t_65_o_m0_lt*/* | xargs rm find vendor/mediatek/proprietary/custom/a36*/modem/ -name dw6737t_65_o_m0_lt* > a.log path=`cat a.log` echo $path rm -rf a.log # path=vendor/mediatek/proprietary/custom/b3676/modem/dw6737t_65_o_m0_ltg_dsds_cotsx for F in $path do cp -rf modem_mp_a36/temp_modem/* $F done else # echoMsg "dt" 4 find vendor/mediatek/proprietary/custom/a36*/modem/dw6737t_65_o_m0_lw*/* | xargs rm find vendor/mediatek/proprietary/custom/a36*/modem/ -name dw6737t_65_o_m0_lw* > a.log path=`cat a.log` echo $path rm -rf a.log # path=vendor/mediatek/proprietary/custom/b3676/modem/dw6737t_65_o_m0_ltg_dsds_cotsx for F in $path do cp -rf modem_mp_a36/temp_modem/* $F done fi
./up_modembin.sh 1
----
作者:柒月
Q群 :2122210(嵌入式/机器学习)