summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-04-20 11:58:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-04-20 11:58:39 +0000
commitf6209cc95961ad7ecc3be0dd95616fe86197a8f7 (patch)
treebc678919776e101d2f9ff47e55ebfdd35dbf96f0 /tools
parent77854b7b920b78d1b0b522e57c041812c1db005a (diff)
downloadrockbox-f6209cc95961ad7ecc3be0dd95616fe86197a8f7.tar.gz
rockbox-f6209cc95961ad7ecc3be0dd95616fe86197a8f7.zip
a little extra poke to get the sim to build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13215 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 4878d7ce95..759fedc7e9 100755
--- a/tools/configure
+++ b/tools/configure
@@ -72,6 +72,7 @@ simcc () {
# default tool setup for native building
prefixtools ""
+ simver=sdl
GCCOPTS='-W -Wall -g -fno-builtin'
output="rockboxui" # use this as default output binary name
@@ -134,6 +135,8 @@ simcc () {
GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link
fi
+ GCCOPTS="$GCCOPTS -I\$(SIMDIR)"
+
if test "X$crosscompile" != "Xyes"; then
id=$$
cat >/tmp/conftest-$id.c <<EOF
@@ -1557,6 +1560,7 @@ sed > Makefile \
-e "s,@FIRMDIR@,${firmdir},g" \
-e "s,@TOOLSDIR@,${toolsdir},g" \
-e "s,@APPS@,${apps},g" \
+ -e "s,@SIMVER@,${simver},g" \
-e "s,@GCCVER@,${gccver},g" \
-e "s,@GCCNUM@,${gccnum},g" \
-e "s,@UNAME@,${uname},g" \
@@ -1619,10 +1623,11 @@ export DLLTOOL=@DLLTOOL@
export DLLWRAP=@DLLWRAP@
export RANLIB=@RANLIB@
export PROFILE_OPTS=@PROFILE_OPTS@
+export SIMVER=@SIMVER@
+export SIMDIR=\$(ROOTDIR)/uisimulator/sdl
export GCCOPTS=@GCCOPTS@
export TARGET_INC=@TARGET_INC@
export LOADADDRESS=@LOADADDRESS@
-export SIMDIR=\$(ROOTDIR)/uisimulator/sdl
export SHARED_FLAG=@SHARED_FLAG@
export LDOPTS=@LDOPTS@
export GCCVER=@GCCVER@