summaryrefslogtreecommitdiffstats
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
VERBOSEOPT=-v
endif
+# old 'make' versions don't have the built-in 'info' function
+info=old\$(warning Consider upgrading to GNU make 3.81+ for optimum build performance.)
+ifeq (\$(call info),old)
+export info=echo "\$\$(1)";
+endif
+
export ROOTDIR=@ROOTDIR@
export FIRMDIR=@FIRMDIR@
export 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 @@
ifndef V
SILENT=@
endif
-PRINTS=$(info $(1))$(SILENT)
+PRINTS=$(SILENT)$(call info,$(1))
$(OBJDIR)/%.o: %.c
$(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)
ifndef V
SILENT=@
endif
-PRINTS=$(info $(1))$(SILENT)
+PRINTS=$(SILENT)$(call info,$(1))
$(OBJDIR)/%.c: %.bmp
$(SILENT)mkdir -p $(dir $@)