FreeCalypso > hg > leo2moko-debug
comparison g23m/copyout.sh @ 8:7df028236331
copyout.sh helper script added
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 18:55:21 +0000 |
parents | |
children | c6c83ac3c1fb |
comparison
equal
deleted
inserted
replaced
7:706e64623330 | 8:7df028236331 |
---|---|
1 #!/bin/sh | |
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, | |
4 # hence we need to rename them before we can work with them comfortably. | |
5 | |
6 if [ "$1" = mfw -o "$1" = 2092 ] | |
7 then | |
8 mmi_type=mfw | |
9 mmi_abbr=mf | |
10 else | |
11 mmi_type=aci | |
12 mmi_abbr=ac | |
13 fi | |
14 | |
15 long_name=gsm_${mmi_abbr}_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 | |
16 out=${mmi_type}-build | |
17 | |
18 set -e | |
19 mkdir -p $out | |
20 | |
21 for ft in m0 map out | |
22 do | |
23 cp -p __out__/$long_name/bin/$long_name.$ft $out/$out.$ft | |
24 done | |
25 cp -p __out__/$long_name/bin/str2ind.tab $out |