summaryrefslogtreecommitdiff
path: root/tools/checkwps/cleanall.sh
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-09-13 15:24:59 +0000
committerThomas Martitz <kugel@rockbox.org>2009-09-13 15:24:59 +0000
commit022463b46c3911830d6144acd1c2957ac9fe1f2d (patch)
tree5c4f87f0ece2f7f4df42626b747efe07fe7a9812 /tools/checkwps/cleanall.sh
parentc0f1c49178b4c205e1c990ea2fb25a417305528c (diff)
downloadrockbox-022463b46c3911830d6144acd1c2957ac9fe1f2d.tar.gz
rockbox-022463b46c3911830d6144acd1c2957ac9fe1f2d.zip
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
Diffstat (limited to 'tools/checkwps/cleanall.sh')
-rwxr-xr-xtools/checkwps/cleanall.sh7
1 files changed, 6 insertions, 1 deletions
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 @@
1#!/bin/sh 1#!/bin/sh
2rootdir=`dirname $0` 2rootdir=`dirname $0`
3outdir=$rootdir/output
3 4
5make clean # make clean the build dir first
6rm -f autoconf.h
7rm -f Makefile
4cat $rootdir/targets.txt | ( 8cat $rootdir/targets.txt | (
5 while read target model 9 while read target model
6 do 10 do
7 rm -f checkwps.$model 11 rm -f $outdir/checkwps.$model # then delete any output/checkwps.*
12 rmdir $outdir > /dev/null 2>&1
8 done 13 done
9) 14)