From 5970ffc073d1acae802d50c88a48ba2a8e7d7b5f Mon Sep 17 00:00:00 2001 From: Jonas Häggqvist Date: Sat, 18 Nov 2006 22:43:55 +0000 Subject: 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 --- tools/configure | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3