summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-28 22:42:16 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-28 22:42:16 +0000
commit56e75bee23b0458ebe5198912c024475c762c355 (patch)
treec945010b3b20c589d6e3d25d271c68a993dee06c /tools
parent22738489b3ce6f22597f7730eea33337727b50f6 (diff)
downloadrockbox-56e75bee23b0458ebe5198912c024475c762c355.tar.gz
rockbox-56e75bee23b0458ebe5198912c024475c762c355.zip
Make the build process informative again for 'make' 3.80 and earlier. Those 'make' versions are back to lower build speed (same as before my Makefile tuning).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11376 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure6
-rw-r--r--tools/make.inc2
-rw-r--r--tools/makebmp.inc2
3 files changed, 8 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index 66636b55b4..d773c5aaf6 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1421,6 +1421,12 @@ else
1421VERBOSEOPT=-v 1421VERBOSEOPT=-v
1422endif 1422endif
1423 1423
1424# old 'make' versions don't have the built-in 'info' function
1425info=old\$(warning Consider upgrading to GNU make 3.81+ for optimum build performance.)
1426ifeq (\$(call info),old)
1427export info=echo "\$\$(1)";
1428endif
1429
1424export ROOTDIR=@ROOTDIR@ 1430export ROOTDIR=@ROOTDIR@
1425export FIRMDIR=@FIRMDIR@ 1431export FIRMDIR=@FIRMDIR@
1426export APPSDIR=@APPSDIR@ 1432export APPSDIR=@APPSDIR@
diff --git a/tools/make.inc b/tools/make.inc
index 8d75326bf0..8e125c834e 100644
--- a/tools/make.inc
+++ b/tools/make.inc
@@ -3,7 +3,7 @@
3ifndef V 3ifndef V
4SILENT=@ 4SILENT=@
5endif 5endif
6PRINTS=$(info $(1))$(SILENT) 6PRINTS=$(SILENT)$(call info,$(1))
7 7
8$(OBJDIR)/%.o: %.c 8$(OBJDIR)/%.o: %.c
9 $(SILENT)mkdir -p $(dir $@) 9 $(SILENT)mkdir -p $(dir $@)
diff --git a/tools/makebmp.inc b/tools/makebmp.inc
index 9c8c640203..987a21457f 100644
--- a/tools/makebmp.inc
+++ b/tools/makebmp.inc
@@ -5,7 +5,7 @@ dep: $(DEPFILE)
5ifndef V 5ifndef V
6SILENT=@ 6SILENT=@
7endif 7endif
8PRINTS=$(info $(1))$(SILENT) 8PRINTS=$(SILENT)$(call info,$(1))
9 9
10$(OBJDIR)/%.c: %.bmp 10$(OBJDIR)/%.c: %.bmp
11 $(SILENT)mkdir -p $(dir $@) 11 $(SILENT)mkdir -p $(dir $@)