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/cleanall.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tools/checkwps/cleanall.sh') diff --git a/tools/checkwps/cleanall.sh b/tools/checkwps/cleanall.sh index 860c3afae2..19a3aec6fb 100755 --- a/tools/checkwps/cleanall.sh +++ b/tools/checkwps/cleanall.sh @@ -1,9 +1,14 @@ #!/bin/sh rootdir=`dirname $0` +outdir=$rootdir/output +make clean # make clean the build dir first +rm -f autoconf.h +rm -f Makefile cat $rootdir/targets.txt | ( while read target model do - rm -f checkwps.$model + rm -f $outdir/checkwps.$model # then delete any output/checkwps.* + rmdir $outdir > /dev/null 2>&1 done ) -- cgit v1.2.3