FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cdg/makecdg.sh @ 660:a0014ba30d71
gsm-fw/cdg/makecdg.sh: added some comments
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 26 Sep 2014 00:34:44 +0000 |
parents | 95c433d8c274 |
children |
comparison
equal
deleted
inserted
replaced
659:c2c4c6b5a5c5 | 660:a0014ba30d71 |
---|---|
14 exit 1 | 14 exit 1 |
15 fi | 15 fi |
16 | 16 |
17 rm -rf tempout | 17 rm -rf tempout |
18 mkdir tempout | 18 mkdir tempout |
19 | |
20 # nowhine is a wrapper around wine that suppresses some obnoxious whine, | |
21 # see leo2moko. TZ=GMT avoids some pesky time zone issues. | |
22 # The arguments to ccdgen have been taken from TCS211 pdt_*.mak makefiles. | |
23 | |
19 TZ=GMT nowhine ccdgen.exe -h -m512 -a2 -ifflags-$1.h -otempout -Rpdf-mdf-list | 24 TZ=GMT nowhine ccdgen.exe -h -m512 -a2 -ifflags-$1.h -otempout -Rpdf-mdf-list |
20 | 25 |
21 echo "Converting from CRLF to UNIX line endings" | 26 echo "Converting from CRLF to UNIX line endings" |
22 | 27 |
23 rm -rf cdginc-$1 | 28 rm -rf cdginc-$1 |
24 mkdir cdginc-$1 | 29 mkdir cdginc-$1 |
25 | 30 |
31 # fromdos comes with Slackware, dunno about other distros | |
26 for i in `cat gen-file-list` | 32 for i in `cat gen-file-list` |
27 do | 33 do |
28 fromdos < tempout/$i > cdginc-$1/$i | 34 fromdos < tempout/$i > cdginc-$1/$i |
29 done | 35 done |