summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
833 833
834if test "$simulator" = "yes"; then 834if test "$simulator" = "yes"; then
835 # add simul make stuff on the #SIMUL# line 835 # add simul make stuff on the #SIMUL# line
836 simmagic="s,#SIMUL#,\ @\$(MAKE) -C \$(SIMDIR) OBJDIR=\$(BUILDDIR)/sim\n @\$(MAKE) -C \$(ROOTDIR)/uisimulator/common OBJDIR=\$(BUILDDIR)/comsim," 836 simmagic1="s,@SIMUL1@,@\$(MAKE) -C \$(SIMDIR) OBJDIR=\$(BUILDDIR)/sim,"
837 simmagic2="s,@SIMUL2@,@\$(MAKE) -C \$(ROOTDIR)/uisimulator/common OBJDIR=\$(BUILDDIR)/comsim,"
837else 838else
838 # delete the line that matches 839 # delete the lines that match
839 simmagic='/#SIMUL#/D' 840 simmagic1='/@SIMUL1@/D'
841 simmagic2='/@SIMUL2@/D'
840fi 842fi
841 843
842sed > Makefile \ 844sed > Makefile \
@@ -875,7 +877,8 @@ sed > Makefile \
875 -e "s,@UNAME@,${uname},g" \ 877 -e "s,@UNAME@,${uname},g" \
876 -e "s,@ENDIAN@,${defendian},g" \ 878 -e "s,@ENDIAN@,${defendian},g" \
877 -e "s,@TOOLSET@,${toolset},g" \ 879 -e "s,@TOOLSET@,${toolset},g" \
878 -e "${simmagic}" \ 880 -e "${simmagic1}" \
881 -e "${simmagic2}" \
879<<EOF 882<<EOF
880## Automaticly generated. http://www.rockbox.org/ 883## Automaticly generated. http://www.rockbox.org/
881 884
@@ -926,7 +929,8 @@ MAKEFLAGS += --no-print-directory
926.PHONY: all clean tags zip tools 929.PHONY: all clean tags zip tools
927 930
928all: tools 931all: tools
929#SIMUL# 932 @SIMUL1@
933 @SIMUL2@
930 @\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware 934 @\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware
931 @\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@ 935 @\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@
932 936