11 echo "Build Checkwps for every target in targets.txt."
12 echo "The binaries are put into in '$outdir'"
15 Usage: build-all.sh [OPTION]...
17 --jobs=NUMBER Let make use NUMBER jobs (default is 1)
25 --jobs=*) jobs=`echo "$arg" | cut -d = -f 2`;;
26 -h|
--help) print_help
;;
27 *) err
="1"; echo "[ERROR] Option '$arg' unsupported";;
31 if [ -z $jobs ] ||
[ $jobs -le "0" ]
33 echo "[ERROR] jobs must be a positive number"
39 echo "An error occured. Aborting"
43 awk -f $rootdir/parse_configure.
awk $rootdir/..
/configure |
(
44 while read target model
47 $toolsdir/configure
--target=$model --type=C
--ram=32 # 32 should always give default RAM
49 mv checkwps.
$model $outdir