From 9a8ed6ba35959f049ec85d8be6ec498fdbb67bb6 Mon Sep 17 00:00:00 2001 From: Lorenzo Miori Date: Mon, 16 Sep 2013 00:02:28 +0200 Subject: 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 --- tools/configure | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools') 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" -- cgit v1.2.3