From 2f293e211a4a299c6d168183204409d859f58154 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 11 May 2020 10:21:32 +0200 Subject: [PATCH] show compiler version --- armsrc/Makefile | 5 ++++- bootrom/Makefile | 7 +++++-- client/Makefile | 1 + 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/armsrc/Makefile b/armsrc/Makefile index 747f4254b..16c6a7f9e 100644 --- a/armsrc/Makefile +++ b/armsrc/Makefile @@ -145,7 +145,10 @@ endif OBJS = $(OBJDIR)/fullimage.s19 FPGA_COMPRESSOR = ../tools/fpga_compress/fpga_compress -all: $(OBJS) +all: showinfo $(OBJS) + +showinfo: + $(info compiler version: $(shell $(CC) --version|head -n 1)) .DELETE_ON_ERROR: diff --git a/bootrom/Makefile b/bootrom/Makefile index 5c7823896..676bd9a05 100644 --- a/bootrom/Makefile +++ b/bootrom/Makefile @@ -41,7 +41,10 @@ version.c: default_version.c $(info [=] GEN $@) $(Q)sh ../tools/mkversion.sh > $@ || perl ../tools/mkversion.pl > $@ || $(CP) $^ $@ -all: $(OBJS) +all: showinfo $(OBJS) + +showinfo: + $(info compiler version: $(shell $(CC) --version|head -n 1)) tarbin: $(OBJS) $(info [=] GEN $@) @@ -68,7 +71,7 @@ uninstall: $(info [@] Uninstalling bootrom from $(DESTDIR)$(PREFIX)...) $(Q)$(RM) $(foreach fw,$(INSTALLFW),$(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLFWRELPATH)$(PATHSEP)$(notdir $(fw))) -.PHONY: all clean help install +.PHONY: all clean help install showinfo help: @echo Multi-OS Makefile, you are running on $(DETECTED_OS) @echo Possible targets: diff --git a/client/Makefile b/client/Makefile index 37096d6e6..54fa3af2c 100644 --- a/client/Makefile +++ b/client/Makefile @@ -159,6 +159,7 @@ $(info native BT support: Bluez found, enabled) else $(info native BT support: Bluez not found, disabled) endif +$(info compiler version: $(shell $(CC) --version|head -n 1)) $(info ===================================================================) # Flags to generate temporary dependency files