]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - tools/src/tools/configtool/standalone/wxwin/makect.sh
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / tools / src / tools / configtool / standalone / wxwin / makect.sh
1 #!/bin/sh
2 # A shell script for helping to compile the Configuration Tool
3
4 LEVEL=$1
5 TARGET="$2 $3 $4 $5 $6 $7 $8 $9"
6
7 if [ "$1" = "" ] || [ "$2" = "" ]; then
8   echo Usage: makect debug/release full/wx/ct/ecc/cleanall
9   exit
10 fi
11
12 if [ "$LEVEL" != "debug" ] && [ "$LEVEL" != "release" ]; then
13   echo First argument should be debug or release.
14   exit
15 fi
16
17 ECOSDIR=/home/julians/cvs/eCos
18
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
23 export ECOSDIR
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