2 # A shell script for helping to compile the Configuration Tool
5 TARGET="$2 $3 $4 $5 $6 $7 $8 $9"
7 if [ "$1" = "" ] || [ "$2" = "" ]; then
8 echo Usage: makect debug/release full/wx/ct/ecc/cleanall
12 if [ "$LEVEL" != "debug" ] && [ "$LEVEL" != "release" ]; then
13 echo First argument should be debug or release.
17 ECOSDIR=/home/julians/cvs/eCos
19 # Necessary if you are using a local version of the compiler
20 # and these haven't been installed
21 export BISON_SIMPLE=/usr/lib/bison.simple
22 export BISON_HAIRY=/usr/lib/bison.hairy
24 export CONFIGTOOLSRCDIR=$ECOSDIR/host/tools/configtool/standalone/wxwin
25 export WXDIR=/home/julians/local/wx2dev/wxWindows
26 make -f ${CONFIGTOOLSRCDIR}/Makefile WXDIR=$WXDIR ECOSDIR=$ECOSDIR LEVEL=$LEVEL $TARGET