FreeCalypso > hg > tcs211-fcmodem
view g23m/copyout.sh @ 21:0f832c4c3db8 default tip
README for the tcs211-fcmodem tree
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 23 Sep 2016 19:58:17 +0000 |
parents | 8eeb95391563 |
children |
line wrap: on
line source
#!/bin/sh # This shell script copies and renames the final output files from TI's # nasty build system. The latter gives these files insanely long names, # hence we need to rename them before we can work with them comfortably. # We also produce a binary version for more reliable flashing with # fc-loadtool. (We can do a CRC-32 check when flashing a binary image, # but it is more difficult with SREC.) if [ "$1" = mfw -o "$1" = 2092 ] then mmi_type=mfw mmi_abbr=mf else mmi_type=aci mmi_abbr=ac fi long_name=gsm_${mmi_abbr}_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 out=${mmi_type}-build set -e mkdir -p $out for ft in m0 map out do cp -p __out__/$long_name/bin/$long_name.$ft $out/$out.$ft done cp -p __out__/$long_name/bin/str2ind.tab $out mokosrec2bin $out/$out.m0 $out/$out.bin FF