diff options
-rw-r--r-- | firmware/decompressor/Makefile | 2 | ||||
-rwxr-xr-x | tools/configure | 6 | ||||
-rw-r--r-- | tools/make.inc | 2 | ||||
-rw-r--r-- | tools/makebmp.inc | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/firmware/decompressor/Makefile b/firmware/decompressor/Makefile index 17ccf6da77..46d7afe1b0 100644 --- a/firmware/decompressor/Makefile +++ b/firmware/decompressor/Makefile | |||
@@ -10,7 +10,7 @@ | |||
10 | ifndef V | 10 | ifndef V |
11 | SILENT=@ | 11 | SILENT=@ |
12 | endif | 12 | endif |
13 | PRINTS=$(info $(1))$(SILENT) | 13 | PRINTS=$(SILENT)$(call info,$(1)) |
14 | 14 | ||
15 | LDS := link.lds | 15 | LDS := link.lds |
16 | LINKFILE = $(OBJDIR)/linkage.lds | 16 | LINKFILE = $(OBJDIR)/linkage.lds |
diff --git a/tools/configure b/tools/configure index 66636b55b4..d773c5aaf6 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -1421,6 +1421,12 @@ else | |||
1421 | VERBOSEOPT=-v | 1421 | VERBOSEOPT=-v |
1422 | endif | 1422 | endif |
1423 | 1423 | ||
1424 | # old 'make' versions don't have the built-in 'info' function | ||
1425 | info=old\$(warning Consider upgrading to GNU make 3.81+ for optimum build performance.) | ||
1426 | ifeq (\$(call info),old) | ||
1427 | export info=echo "\$\$(1)"; | ||
1428 | endif | ||
1429 | |||
1424 | export ROOTDIR=@ROOTDIR@ | 1430 | export ROOTDIR=@ROOTDIR@ |
1425 | export FIRMDIR=@FIRMDIR@ | 1431 | export FIRMDIR=@FIRMDIR@ |
1426 | export APPSDIR=@APPSDIR@ | 1432 | 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 @@ | |||
3 | ifndef V | 3 | ifndef V |
4 | SILENT=@ | 4 | SILENT=@ |
5 | endif | 5 | endif |
6 | PRINTS=$(info $(1))$(SILENT) | 6 | PRINTS=$(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) | |||
5 | ifndef V | 5 | ifndef V |
6 | SILENT=@ | 6 | SILENT=@ |
7 | endif | 7 | endif |
8 | PRINTS=$(info $(1))$(SILENT) | 8 | PRINTS=$(SILENT)$(call info,$(1)) |
9 | 9 | ||
10 | $(OBJDIR)/%.c: %.bmp | 10 | $(OBJDIR)/%.c: %.bmp |
11 | $(SILENT)mkdir -p $(dir $@) | 11 | $(SILENT)mkdir -p $(dir $@) |