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
This commit is contained in:
Jens Arnold 2006-10-28 22:42:16 +00:00
parent 22738489b3
commit 56e75bee23
4 changed files with 9 additions and 3 deletions

View file

@ -10,7 +10,7 @@
ifndef V
SILENT=@
endif
PRINTS=$(info $(1))$(SILENT)
PRINTS=$(SILENT)$(call info,$(1))
LDS := link.lds
LINKFILE = $(OBJDIR)/linkage.lds

6
tools/configure vendored
View file

@ -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@

View file

@ -3,7 +3,7 @@
ifndef V
SILENT=@
endif
PRINTS=$(info $(1))$(SILENT)
PRINTS=$(SILENT)$(call info,$(1))
$(OBJDIR)/%.o: %.c
$(SILENT)mkdir -p $(dir $@)

View file

@ -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 $@)