FreeCalypso > hg > fc-magnetite
view cdg3/makecdg.sh @ 672:3e4f212e5d49
targets/*.conf cleanup: remove unnecessary TPUDRV_blob= lines
MAIN_blob= and/or TPUDRV_blob= may be *optionally* defined in
targets/*.conf files; if either variable is defined, it means that
using the specified version of the blob library is allowed on this
target, albeit likely suboptimal; if the variable is not defined,
then using a blob is not an option and compilation from source is
required for this component.
MAIN_blob= and TPUDRV_blob= are now defaulted to empty in configure.sh,
thus there is no need to explicitly specify that using a blob is not
a valid option.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 29 May 2020 03:11:16 +0000 |
parents | 02269c474131 |
children |
line wrap: on
line source
#!/bin/sh set -e if [ $# != 1 ] then echo "Usage: %s config-name" 1>&2 exit 1 fi if [ ! -f "fflags-$1.h" ] then echo "error: specified configuration is not known" 1>&2 exit 1 fi rm -rf tempout mkdir tempout # The arguments to ccdgen have been taken from TCS211 pdt_*.mak makefiles. ../toolwrap/ccdgen -h -m512 -a2 -ifflags-$1.h -otempout -Rpdf-mdf-list echo "Converting from CRLF to UNIX line endings" rm -rf cdginc-$1 mkdir cdginc-$1 # fromdos comes with Slackware, dunno about other distros for i in `cat gen-file-list` do fromdos < tempout/$i > cdginc-$1/$i done