summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRobert Hak <adiamas@rockbox.org>2002-10-17 09:19:34 +0000
committerRobert Hak <adiamas@rockbox.org>2002-10-17 09:19:34 +0000
commit672b0e26f31243ff57c7b65212d1d062d2c1cb45 (patch)
tree036c4cfc0188f5cf831cfbfffe869c3070214d46 /tools
parent9465d4e59bb1407e2e8a40b54f653d6abb9bffd1 (diff)
downloadrockbox-672b0e26f31243ff57c7b65212d1d062d2c1cb45.tar.gz
rockbox-672b0e26f31243ff57c7b65212d1d062d2c1cb45.zip
as dumb as i am, its amazing i can breath
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2696 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index b62e82ad52..ea213b8750 100755
--- a/tools/configure
+++ b/tools/configure
@@ -17,7 +17,7 @@ input() {
echo $response
}
-simul () {
+whichsim () {
if [ -z "$simver" ]; then
@@ -38,6 +38,10 @@ if [ -z "$simver" ]; then
;;
esac
fi
+}
+
+
+simul () {
##################################################################
# Figure out where the firmware code is!
@@ -273,7 +277,7 @@ if [ -z "$debug" ]; then
[Ss])
debug="SIMULATOR=1"
simulator="yes"
- simul
+ whichsim
;;
[Dd])
debug="DEBUG=1"
@@ -340,6 +344,7 @@ fi
if [ "yes" = "$simulator" ]; then
# we have already dealt with the simulator Makefile separately
+ simul
exit
fi