summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-21 16:06:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-21 16:06:29 +0000
commit3e69481fe4d235e7bb39699251dffb2367fa7c37 (patch)
tree096f633d306e0afbd7901aec3bf1eed5db951289 /tools
parent1ef2b73b79127c5a4d74e0ec3f144eebb3652700 (diff)
downloadrockbox-3e69481fe4d235e7bb39699251dffb2367fa7c37.zip
rockbox-3e69481fe4d235e7bb39699251dffb2367fa7c37.tar.gz
rockbox-3e69481fe4d235e7bb39699251dffb2367fa7c37.tar.bz2
rockbox-3e69481fe4d235e7bb39699251dffb2367fa7c37.tar.xz
Missed for a very long time: now runs make in the tools dir first when
building target versions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8026 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 9c95182..026a29e 100755
--- a/tools/configure
+++ b/tools/configure
@@ -792,9 +792,11 @@ if test "$simulator" = "yes"; then
# add simul make stuff on the #SIMUL# line
simmagic='/#SIMUL#/c\ @$(MAKE) -C $(SIMDIR) OBJDIR=$(BUILDDIR)/sim\n @$(MAKE) -C $(ROOTDIR)/uisimulator/common OBJDIR=$(BUILDDIR)/comsim'
+ simtools='s/#TOOLSDEP#//'
else
# delete the line that matches
simmagic='/#SIMUL#/D'
+ simtools='s/#TOOLSDEP#/tools/'
fi
sed > Makefile \
@@ -833,6 +835,7 @@ sed > Makefile \
-e "s,@UNAME@,${uname},g" \
-e "s,@ENDIAN@,${defendian},g" \
-e "${simmagic}" \
+ -e "${simtools}" \
<<EOF
## Automaticly generated. http://www.rockbox.org/
@@ -882,7 +885,7 @@ MAKEFLAGS += --no-print-directory
.PHONY: all clean tags zip
-all:
+all: #TOOLSDEP#
#SIMUL#
@\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware
@\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@