view cdg-hybrid/makecdg.sh @ 640:16eb1b9640dc

target gtm900 renamed to gtm900mgc2 This change reflects the fact that the build target in question supports MGC2GSMT hardware only, and will NOT work on other hw that confusing bears the same end user name of GTM900, neither the LoCosto-based GTM900-C nor the Calypso-based MG01GSMT that has a different and incompatible RFFE. If we ever get our hands on a piece of MG01GSMT hw and add support for it, that other target will be named gtm900mg01.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 31 Jan 2020 00:46:07 +0000
parents e7a67accfad9
children
line wrap: on
line source

#!/bin/sh

set -e

rm -rf tempout
mkdir tempout

# The arguments to ccdgen have been taken from TCS211 pdt_*.mak makefiles.

../toolwrap/ccdgen -h -m512 -a2 -ifflags.h -otempout -Rpdf-mdf-list

echo "Converting from CRLF to UNIX line endings"

rm -rf cdginc
mkdir cdginc

# fromdos comes with Slackware, dunno about other distros
for i in `cat gen-file-list`
do
	fromdos < tempout/$i > cdginc/$i
done