yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [diff] [blame^] | 1 | # /bin/bash |
| 2 | filelist=$1 |
| 3 | filelist2=$2 |
| 4 | |
| 5 | if [ $1 ] |
| 6 | then |
| 7 | direc=./$1 |
| 8 | file_name=./$2 |
| 9 | else |
| 10 | direc="project_img" |
| 11 | file_name=ELF_$(date +%Y-%m-%d-%H:%M:%S) |
| 12 | fi |
| 13 | |
| 14 | mkdir -p $direc |
| 15 | mkdir -p $file_name |
| 16 | rm -rf $direc/* |
| 17 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/DSP_MT2735_*.bin $direc/dsp.bin |
| 18 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/MT2735_IVT_MDBIN_PCB01_MT2735_S00.*.bin $direc/modem.img |
| 19 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/dhl/database/MDDB.META.ODB_MT2735_S00*.XML.GZ $direc/ |
| 20 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/dhl/database/MDDB*.EDB $direc/ |
| 21 | cp -r ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/mddata $direc/ |
| 22 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/dhl/database/catcher_filter* $direc/ |
| 23 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/MDDB.MCF.ODB.tar.gz $direc/ |
| 24 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/MCF_OTA_FILES.tar.gz $direc/ |
| 25 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/*.elf $file_name/ |
| 26 | cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/DbgInfo_* $file_name/ |
| 27 | |
| 28 | echo "find your files in $direc." |