forked from len0rd/rockbox
Remove rootdir guessing since it's no longer necessary to guess.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11550 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f45982abcd
commit
5970ffc073
1 changed files with 1 additions and 16 deletions
17
tools/configure
vendored
17
tools/configure
vendored
|
|
@ -528,22 +528,7 @@ if [ -z "$rootdir" ]; then
|
||||||
##################################################################
|
##################################################################
|
||||||
# Figure out where the source code root is!
|
# Figure out where the source code root is!
|
||||||
#
|
#
|
||||||
|
rootdir=`dirname $0`/../
|
||||||
firmfile="app.lds" # a file to check for in the firmware root dir
|
|
||||||
|
|
||||||
for dir in . .. ../.. ../rockbox*; do
|
|
||||||
if [ -f $dir/firmware/$firmfile ]; then
|
|
||||||
rootdir=$dir
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ -z "$rootdir" ]; then
|
|
||||||
echo "This script couldn't find your source code root directory. Please enter the"
|
|
||||||
echo "full path to the source code directory here:"
|
|
||||||
|
|
||||||
rootdir=`input`
|
|
||||||
fi
|
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# Convert the possibly relative directory name to an absolute version
|
# Convert the possibly relative directory name to an absolute version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue