summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2006-11-18 22:43:55 +0000
committerJonas Häggqvist <rasher@rasher.dk>2006-11-18 22:43:55 +0000
commit5970ffc073d1acae802d50c88a48ba2a8e7d7b5f (patch)
tree39fdeca723e77ac405269aedb6848c993b6b10a3 /tools
parentf45982abcd8e1b44971ca0359128443ddb4693ac (diff)
downloadrockbox-5970ffc073d1acae802d50c88a48ba2a8e7d7b5f.tar.gz
rockbox-5970ffc073d1acae802d50c88a48ba2a8e7d7b5f.tar.bz2
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-xtools/configure17
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
##################################################################
# Figure out where the source code root is!
#
-
- 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
+ rootdir=`dirname $0`/../
#####################################################################
# Convert the possibly relative directory name to an absolute version