forked from len0rd/rockbox
Make checkwps compile scripts directory-independent
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19900 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ee7f12644c
commit
7c2ecc338a
2 changed files with 9 additions and 5 deletions
|
|
@ -1,8 +1,10 @@
|
|||
#!/bin/sh
|
||||
cat targets.txt | (
|
||||
rootdir=`dirname $0`
|
||||
|
||||
cat $rootdir/targets.txt | (
|
||||
while read target model
|
||||
do
|
||||
rm -f checkwps.$model
|
||||
make MODEL=$model TARGET=$target checkwps
|
||||
rm -f $rootdir/checkwps.$model
|
||||
make -s -C $rootdir MODEL=$model TARGET=$target checkwps
|
||||
done
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
#!/bin/sh
|
||||
cat targets.txt | (
|
||||
rootdir=`dirname $0`
|
||||
|
||||
cat $rootdir/targets.txt | (
|
||||
while read target model
|
||||
do
|
||||
rm -f checkwps.$model
|
||||
rm -f $rootdir/checkwps.$model
|
||||
done
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue