diff options
-rwxr-xr-x | tools/configure | 14 |
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 | ||
834 | if test "$simulator" = "yes"; then | 834 | if 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," | ||
837 | else | 838 | else |
838 | # delete the line that matches | 839 | # delete the lines that match |
839 | simmagic='/#SIMUL#/D' | 840 | simmagic1='/@SIMUL1@/D' |
841 | simmagic2='/@SIMUL2@/D' | ||
840 | fi | 842 | fi |
841 | 843 | ||
842 | sed > Makefile \ | 844 | sed > 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 | ||
928 | all: tools | 931 | all: 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 | ||