| # /bin/bash |
| filelist=$1 |
| filelist2=$2 |
| |
| if [ $1 ] |
| then |
| direc=./$1 |
| file_name=./$2 |
| else |
| direc="project_img" |
| file_name=ELF_$(date +%Y-%m-%d-%H:%M:%S) |
| fi |
| |
| mkdir -p $direc |
| mkdir -p $file_name |
| rm -rf $direc/* |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/DSP_MT2735_*.bin $direc/dsp.bin |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/MT2735_IVT_MDBIN_PCB01_MT2735_S00.*.bin $direc/modem.img |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/dhl/database/MDDB.META.ODB_MT2735_S00*.XML.GZ $direc/ |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/dhl/database/MDDB*.EDB $direc/ |
| cp -r ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/mddata $direc/ |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/dhl/database/catcher_filter* $direc/ |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/MDDB.MCF.ODB.tar.gz $direc/ |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/MCF_OTA_FILES.tar.gz $direc/ |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/*.elf $file_name/ |
| cp ./build/MT2735_IVT/NLWG_WIDE_TEMP_CUSTOM/bin/DbgInfo_* $file_name/ |
| |
| echo "find your files in $direc." |