From 022463b46c3911830d6144acd1c2957ac9fe1f2d Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 13 Sep 2009 15:24:59 +0000 Subject: Repair build-all.sh and clean-all.sh. Make it so that it runs ../configure and make for each target. This makes the wrapper-Makefile obsolete. It moves the binaries to tools/checkwps/output. NOTE: Something is fishy with the creative players (it builds them, but can't move them), because the configure target name and modelname differs (not sure how to fix that). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22696 a1c6a512-1295-4272-9138-f99709370657 --- tools/checkwps/buildall.sh | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) (limited to 'tools/checkwps/buildall.sh') diff --git a/tools/checkwps/buildall.sh b/tools/checkwps/buildall.sh index b66bee224c..9bc937fa56 100755 --- a/tools/checkwps/buildall.sh +++ b/tools/checkwps/buildall.sh @@ -1,11 +1,51 @@ #!/bin/sh rootdir=`dirname $0` +toolsdir=$rootdir/.. +outdir=$rootdir/output +jobs="1" +err="0" + +mkdir -p $outdir + +print_help() { + echo "Build Checkwps for every target in targets.txt." + echo "The binaries are put into in '$outdir'" + echo "" + cat < /dev/null 2>&1 + make -j $jobs clean + $toolsdir/configure --target=$model --type=C --ram=32 # 32 should always give default RAM + make -j $jobs + mv checkwps.$model $outdir done ) -- cgit v1.2.3