summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-12-05 22:13:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-12-05 22:13:55 +0000
commit3776a844ac14f1c389e81fe1ed65bc9526f3abad (patch)
treef719eb80bdd40f86dc1469f97dbcea3180a85d27 /tools/configure
parentfc4a0314bde748a2dd4b0d41b387c45f79bb1e2b (diff)
another makeover of the simulator stuff to be more sed-friendly with non-GNU
versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8160 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure14
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure
index ca9eaa23aa..21519f306f 100755
--- a/tools/configure
+++ b/tools/configure
@@ -833,10 +833,12 @@ EOF
if test "$simulator" = "yes"; then
# add simul make stuff on the #SIMUL# line
- simmagic="s,#SIMUL#,\ @\$(MAKE) -C \$(SIMDIR) OBJDIR=\$(BUILDDIR)/sim\n @\$(MAKE) -C \$(ROOTDIR)/uisimulator/common OBJDIR=\$(BUILDDIR)/comsim,"
+ simmagic1="s,@SIMUL1@,@\$(MAKE) -C \$(SIMDIR) OBJDIR=\$(BUILDDIR)/sim,"
+ simmagic2="s,@SIMUL2@,@\$(MAKE) -C \$(ROOTDIR)/uisimulator/common OBJDIR=\$(BUILDDIR)/comsim,"
else
- # delete the line that matches
- simmagic='/#SIMUL#/D'
+ # delete the lines that match
+ simmagic1='/@SIMUL1@/D'
+ simmagic2='/@SIMUL2@/D'
fi
sed > Makefile \
@@ -875,7 +877,8 @@ sed > Makefile \
-e "s,@UNAME@,${uname},g" \
-e "s,@ENDIAN@,${defendian},g" \
-e "s,@TOOLSET@,${toolset},g" \
- -e "${simmagic}" \
+ -e "${simmagic1}" \
+ -e "${simmagic2}" \
<<EOF
## Automaticly generated. http://www.rockbox.org/
@@ -926,7 +929,8 @@ MAKEFLAGS += --no-print-directory
.PHONY: all clean tags zip tools
all: tools
-#SIMUL#
+ @SIMUL1@
+ @SIMUL2@
@\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware
@\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@