summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorLorenzo Miori <memoryS60@gmail.com>2013-09-16 00:02:28 +0200
committerFrank Gevaerts <frank@gevaerts.be>2013-09-29 14:15:48 +0200
commit9a8ed6ba35959f049ec85d8be6ec498fdbb67bb6 (patch)
tree68eb6b6cf52826ffb279b382f2cf389a7466a798 /tools/configure
parentd13e5b964e56fb15dcc3990d2e424f4ffdd3db8b (diff)
Simulator for Samsung YP-R0
Enable simulator for the target ypr0 to be built and used. Change-Id: I1b080f07ab90f5c4856881d08ad70e1053bbb0c0 Reviewed-on: http://gerrit.rockbox.org/618 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 4e548eea91..8491ffdb35 100755
--- a/tools/configure
+++ b/tools/configure
@@ -3701,6 +3701,14 @@ if [ -z "$debug" ]; then
GCCOPTS="$GCCOPTS $GCCOPTIMIZE"
fi
+# if building a simulator for an hosted port, APPLICATION
+# define clashes with SIMULATOR define
+
+if [ "yes" = "$simulator" ]; then
+ echo Unsetting APPLICATION define for SIMULATOR build
+ unset application
+fi
+
if [ "yes" = "$application" ]; then
echo Building Rockbox as an Application
extradefines="$extradefines -DAPPLICATION"