diff options
-rwxr-xr-x | tools/configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index 9c95182679..026a29e688 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -792,9 +792,11 @@ if test "$simulator" = "yes"; then | |||
792 | 792 | ||
793 | # add simul make stuff on the #SIMUL# line | 793 | # add simul make stuff on the #SIMUL# line |
794 | simmagic='/#SIMUL#/c\ @$(MAKE) -C $(SIMDIR) OBJDIR=$(BUILDDIR)/sim\n @$(MAKE) -C $(ROOTDIR)/uisimulator/common OBJDIR=$(BUILDDIR)/comsim' | 794 | simmagic='/#SIMUL#/c\ @$(MAKE) -C $(SIMDIR) OBJDIR=$(BUILDDIR)/sim\n @$(MAKE) -C $(ROOTDIR)/uisimulator/common OBJDIR=$(BUILDDIR)/comsim' |
795 | simtools='s/#TOOLSDEP#//' | ||
795 | else | 796 | else |
796 | # delete the line that matches | 797 | # delete the line that matches |
797 | simmagic='/#SIMUL#/D' | 798 | simmagic='/#SIMUL#/D' |
799 | simtools='s/#TOOLSDEP#/tools/' | ||
798 | fi | 800 | fi |
799 | 801 | ||
800 | sed > Makefile \ | 802 | sed > Makefile \ |
@@ -833,6 +835,7 @@ sed > Makefile \ | |||
833 | -e "s,@UNAME@,${uname},g" \ | 835 | -e "s,@UNAME@,${uname},g" \ |
834 | -e "s,@ENDIAN@,${defendian},g" \ | 836 | -e "s,@ENDIAN@,${defendian},g" \ |
835 | -e "${simmagic}" \ | 837 | -e "${simmagic}" \ |
838 | -e "${simtools}" \ | ||
836 | <<EOF | 839 | <<EOF |
837 | ## Automaticly generated. http://www.rockbox.org/ | 840 | ## Automaticly generated. http://www.rockbox.org/ |
838 | 841 | ||
@@ -882,7 +885,7 @@ MAKEFLAGS += --no-print-directory | |||
882 | 885 | ||
883 | .PHONY: all clean tags zip | 886 | .PHONY: all clean tags zip |
884 | 887 | ||
885 | all: | 888 | all: #TOOLSDEP# |
886 | #SIMUL# | 889 | #SIMUL# |
887 | @\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware | 890 | @\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware |
888 | @\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@ | 891 | @\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@ |