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