blob: b62e620a32b3cc84f1dd48f97f1a26336ed731f6 [file] [log] [blame]
yu.dong49ec3872024-08-27 22:55:49 -07001st=$1
yu.dongc33b3072024-08-21 23:14:49 -07002filelist2=$2
3
4if [ $1 ]
5then
6 direc=./$1
7 file_name=./$2
8else
9 direc="project_img"
10 file_name=ELF_$(date +%Y-%m-%d-%H:%M:%S)
11fi
12
13mkdir -p $direc
14mkdir -p $file_name
15rm -rf $direc/*
yu.dong49ec3872024-08-27 22:55:49 -070016cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/bin/DSP_MT2735_*.bin $direc/dsp.bin
17cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/bin/MOBILETEK2735_IVT_T800_V1_MDBIN_PCB01_MT2735_S00.*.bin $direc/modem.img
18cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/dhl/database/MDDB.META.ODB_MT2735_S00*.XML.GZ $direc/
19cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/dhl/database/MDDB*.EDB $direc/
20cp -r ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/mddata $direc/
21cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/dhl/database/catcher_filter* $direc/
22cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/bin/MDDB.MCF.ODB.tar.gz $direc/
23cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/bin/MCF_OTA_FILES.tar.gz $direc/
24cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/bin/*.elf $file_name/
25cp ./build/MOBILETEK2735_IVT_T800_V1/NLWG_WIDE_TEMP_CUSTOM/bin/DbgInfo_* $file_name/
yu.dongc33b3072024-08-21 23:14:49 -070026
27echo "find your files in $direc."