FreeCalypso > hg > tcs211-fcmodem
comparison g23m/copyout.sh @ 17:8eeb95391563
g23m/copyout.sh: enhanced version like in other TCS211 work trees
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 23 Sep 2016 05:56:21 +0000 |
parents | 7df028236331 |
children |
comparison
equal
deleted
inserted
replaced
16:68de2b16cf0d | 17:8eeb95391563 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # This shell script copies and renames the final output files from TI's | 2 # This shell script copies and renames the final output files from TI's |
3 # nasty build system. The latter gives these files insanely long names, | 3 # nasty build system. The latter gives these files insanely long names, |
4 # hence we need to rename them before we can work with them comfortably. | 4 # hence we need to rename them before we can work with them comfortably. |
5 # We also produce a binary version for more reliable flashing with | |
6 # fc-loadtool. (We can do a CRC-32 check when flashing a binary image, | |
7 # but it is more difficult with SREC.) | |
5 | 8 |
6 if [ "$1" = mfw -o "$1" = 2092 ] | 9 if [ "$1" = mfw -o "$1" = 2092 ] |
7 then | 10 then |
8 mmi_type=mfw | 11 mmi_type=mfw |
9 mmi_abbr=mf | 12 mmi_abbr=mf |
21 for ft in m0 map out | 24 for ft in m0 map out |
22 do | 25 do |
23 cp -p __out__/$long_name/bin/$long_name.$ft $out/$out.$ft | 26 cp -p __out__/$long_name/bin/$long_name.$ft $out/$out.$ft |
24 done | 27 done |
25 cp -p __out__/$long_name/bin/str2ind.tab $out | 28 cp -p __out__/$long_name/bin/str2ind.tab $out |
29 mokosrec2bin $out/$out.m0 $out/$out.bin FF |