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:
parent
22738489b3
commit
56e75bee23
4 changed files with 9 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
||||||
ifndef V
|
ifndef V
|
||||||
SILENT=@
|
SILENT=@
|
||||||
endif
|
endif
|
||||||
PRINTS=$(info $(1))$(SILENT)
|
PRINTS=$(SILENT)$(call info,$(1))
|
||||||
|
|
||||||
LDS := link.lds
|
LDS := link.lds
|
||||||
LINKFILE = $(OBJDIR)/linkage.lds
|
LINKFILE = $(OBJDIR)/linkage.lds
|
||||||
|
|
6
tools/configure
vendored
6
tools/configure
vendored
|
@ -1421,6 +1421,12 @@ else
|
||||||
VERBOSEOPT=-v
|
VERBOSEOPT=-v
|
||||||
endif
|
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 ROOTDIR=@ROOTDIR@
|
||||||
export FIRMDIR=@FIRMDIR@
|
export FIRMDIR=@FIRMDIR@
|
||||||
export APPSDIR=@APPSDIR@
|
export APPSDIR=@APPSDIR@
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
ifndef V
|
ifndef V
|
||||||
SILENT=@
|
SILENT=@
|
||||||
endif
|
endif
|
||||||
PRINTS=$(info $(1))$(SILENT)
|
PRINTS=$(SILENT)$(call info,$(1))
|
||||||
|
|
||||||
$(OBJDIR)/%.o: %.c
|
$(OBJDIR)/%.o: %.c
|
||||||
$(SILENT)mkdir -p $(dir $@)
|
$(SILENT)mkdir -p $(dir $@)
|
||||||
|
|
|
@ -5,7 +5,7 @@ dep: $(DEPFILE)
|
||||||
ifndef V
|
ifndef V
|
||||||
SILENT=@
|
SILENT=@
|
||||||
endif
|
endif
|
||||||
PRINTS=$(info $(1))$(SILENT)
|
PRINTS=$(SILENT)$(call info,$(1))
|
||||||
|
|
||||||
$(OBJDIR)/%.c: %.bmp
|
$(OBJDIR)/%.c: %.bmp
|
||||||
$(SILENT)mkdir -p $(dir $@)
|
$(SILENT)mkdir -p $(dir $@)
|
||||||
|
|
Loading…
Reference in a new issue