diff options
author | Jonas Häggqvist <rasher@rasher.dk> | 2006-11-18 22:43:55 +0000 |
---|---|---|
committer | Jonas Häggqvist <rasher@rasher.dk> | 2006-11-18 22:43:55 +0000 |
commit | 5970ffc073d1acae802d50c88a48ba2a8e7d7b5f (patch) | |
tree | 39fdeca723e77ac405269aedb6848c993b6b10a3 /tools | |
parent | f45982abcd8e1b44971ca0359128443ddb4693ac (diff) | |
download | rockbox-5970ffc073d1acae802d50c88a48ba2a8e7d7b5f.tar.gz rockbox-5970ffc073d1acae802d50c88a48ba2a8e7d7b5f.zip |
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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/tools/configure b/tools/configure index c04ac4b39f..a2cdfda770 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -528,22 +528,7 @@ if [ -z "$rootdir" ]; then | |||
528 | ################################################################## | 528 | ################################################################## |
529 | # Figure out where the source code root is! | 529 | # Figure out where the source code root is! |
530 | # | 530 | # |
531 | 531 | rootdir=`dirname $0`/../ | |
532 | firmfile="app.lds" # a file to check for in the firmware root dir | ||
533 | |||
534 | for dir in . .. ../.. ../rockbox*; do | ||
535 | if [ -f $dir/firmware/$firmfile ]; then | ||
536 | rootdir=$dir | ||
537 | break | ||
538 | fi | ||
539 | done | ||
540 | |||
541 | if [ -z "$rootdir" ]; then | ||
542 | echo "This script couldn't find your source code root directory. Please enter the" | ||
543 | echo "full path to the source code directory here:" | ||
544 | |||
545 | rootdir=`input` | ||
546 | fi | ||
547 | 532 | ||
548 | ##################################################################### | 533 | ##################################################################### |
549 | # Convert the possibly relative directory name to an absolute version | 534 | # Convert the possibly relative directory name to an absolute version |