forked from len0rd/rockbox
try the directories in the current dir too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@657 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3aacd2edf1
commit
82e6a07298
1 changed files with 4 additions and 2 deletions
6
tools/configure
vendored
6
tools/configure
vendored
|
|
@ -77,9 +77,10 @@ esac
|
|||
|
||||
firmfile="start.s" # a file to check for in the firmware root dir
|
||||
|
||||
for dir in . .. ../firmware ../../firmware; do
|
||||
for dir in firmware . .. ../firmware ../../firmware; do
|
||||
if [ -f $dir/$firmfile ]; then
|
||||
firmdir=$dir
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
@ -96,9 +97,10 @@ fi
|
|||
|
||||
appsfile="credits.c" # a file to check for in the apps root dir
|
||||
|
||||
for dir in $firmdir/apps $firmdir/../apps . .. ../apps ../../apps; do
|
||||
for dir in apps $firmdir/apps $firmdir/../apps . .. ../apps ../../apps; do
|
||||
if [ -f $dir/$appsfile ]; then
|
||||
appsdir=$dir
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue