summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-07-17 02:58:53 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-07-17 02:58:53 +0000
commitee27a4fb7ca54a90bc97878ef59b7f47df3edfbb (patch)
treec1b979f9348718c11176c2eb418b37bd2806ae17
parentfad013fcddbea20d00e3453725546f0c6a0899b4 (diff)
downloadrockbox-ee27a4fb7ca54a90bc97878ef59b7f47df3edfbb.zip
rockbox-ee27a4fb7ca54a90bc97878ef59b7f47df3edfbb.tar.gz
rockbox-ee27a4fb7ca54a90bc97878ef59b7f47df3edfbb.tar.bz2
rockbox-ee27a4fb7ca54a90bc97878ef59b7f47df3edfbb.tar.xz
Accept FS#8980 - fix typo and remove some accidentl code from tools/configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18078 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure14
1 files changed, 3 insertions, 11 deletions
diff --git a/tools/configure b/tools/configure
index 4f09170..4307f32 100755
--- a/tools/configure
+++ b/tools/configure
@@ -69,7 +69,7 @@ findtool(){
# parse the argument list, returns the value after the = in case of a
# option=value type option, returns 0 in case of --ccache or --no-ccache,
# returns 1 if the searched argument type wasn't fount in the argument list
-# Usage [var = ]`parse_args <argumenttype>`, i.e. `parse_args target`
+# Usage [var = ]`parse_args <argumenttype>`, e.g. `parse_args --target`
# var definitons below are needed so that parse_args can see the arguments
arg1=$1 arg2=$2 arg3=$3 arg4=$4 arg5=$5 arg6=$6 arg7=$7 arg8=$8 arg9=$9
@@ -591,7 +591,7 @@ cat <<EOF
Usage: configure [OPTION]...
Options:
--target=TARGET Sets the target, TARGET can be either the target ID or
- corresponding string. Run without this option to see the
+ corresponding string. Run without this option to see all
available targets.
--ram=RAM Sets the RAM for certain targets. Even though any number
@@ -601,7 +601,7 @@ cat <<EOF
without this option if you are not sure which the right
number is.
- --type=TYPE Sets the build type. The shortcut is valied.
+ --type=TYPE Sets the build type. The shortcut is also valid.
Run without this option to see available types.
--ccache Enable ccache use (done by default these days)
--no-ccache Disable ccache use
@@ -2065,14 +2065,6 @@ if test "$CC" = "m68k-elf-gcc"; then
# convert -O to -Os to get smaller binaries!
GCCOPTS=`echo $GCCOPTS | sed 's/ -O / -Os /'`
fi
- for path in $PATH
- do
- # echo "checks for $file in $path" >&2
- if test -f "$path/$file"; then
- echo "$path/$file"
- return
- fi
- done
if [ "1" != `parse_args --ccache` ]; then
echo "Enable ccache for building"