summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-12-07 18:05:24 -0500
committerSolomon Peachy <pizza@shaftnet.org>2024-12-07 18:09:17 -0500
commit0c8b71b00d687e30ba240b5ec20f58cefcf63e53 (patch)
tree7b4ef64dac0dd93c53e11b4696d91ebded50ffa3
parent8cee2ac7840db2125b585ee0bcec2ed2edd6661a (diff)
downloadrockbox-0c8b71b00d.tar.gz
rockbox-0c8b71b00d.zip
checkwps: Update the cleanall script and documentation
Change-Id: I170875f2b199ec5395a8b66976a8bc17d9eb85f8
-rw-r--r--tools/checkwps/README4
-rwxr-xr-xtools/checkwps/cleanall.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/checkwps/README b/tools/checkwps/README
index a94882fdff..7f6b6d6b4e 100644
--- a/tools/checkwps/README
+++ b/tools/checkwps/README
@@ -10,14 +10,12 @@ To compile
Just run the ./buildall.sh script
-
To remove all compiled files
----------------------------
./cleanall.sh
-
To add a new target
-------------------
-Add $target and $modelname from tools/configure to targets.txt
+No action necessary, list of targets is parsed out of the configure script
diff --git a/tools/checkwps/cleanall.sh b/tools/checkwps/cleanall.sh
index 4b3c72bd23..321c14ead2 100755
--- a/tools/checkwps/cleanall.sh
+++ b/tools/checkwps/cleanall.sh
@@ -2,7 +2,9 @@
rootdir=`dirname $0`
outdir=$rootdir/output
-make clean # make clean the build dir first
+if [ -f Makefile ] ; then
+ make clean # make clean the build dir first
+fi
rm -f autoconf.h
rm -f Makefile
awk -f $rootdir/parse_configure.awk $rootdir/../configure | (