[coreboot-gerrit] New patch to review for coreboot: coreinfo: Fix build output (cosmetical)
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Wed Jul 1 00:22:49 CEST 2015
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10744
-gerrit
commit 904a59fded912ed752cfdd14234e4d56c3e96127
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date: Tue Jun 30 15:22:12 2015 -0700
coreinfo: Fix build output (cosmetical)
Change-Id: I6c3cdda7febc02bab9195fc98f46490c0d478a9a
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
payloads/coreinfo/Makefile | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile
index 3cc0fc9..37df8d8 100644
--- a/payloads/coreinfo/Makefile
+++ b/payloads/coreinfo/Makefile
@@ -41,9 +41,14 @@ UNAME_RELEASE := $(shell uname -r)
HAVE_DOTCONFIG := $(wildcard .config)
MAKEFLAGS += -rR --no-print-directory
+ifneq ($(V),1)
# Make is silent per default, but 'make V=1' will show all compiler calls.
+Q:=@
+endif
ifneq ($(V),1)
-Q := @
+ifneq ($(Q),)
+.SILENT:
+endif
endif
HOSTCC ?= gcc
@@ -72,18 +77,18 @@ include $(src)/.config
all: $(TARGET)
$(TARGET): $(src)/.config $(obj)/config.h $(OBJS) libpayload
- $(Q)printf " LPCC $(subst $(shell pwd)/,,$(@))\n"
+ $(Q)printf " LPCC $(subst $(shell pwd)/,,$(@)) (LINK)\n"
$(Q)$(LPCC) -o $@ $(OBJS)
$(Q)$(OBJCOPY) --only-keep-debug $@ $(TARGET).debug
$(Q)$(OBJCOPY) --strip-debug $@
$(Q)$(OBJCOPY) --add-gnu-debuglink=$(TARGET).debug $@
$(obj)/%.S.o: $(src)/%.S libpayload
- $(Q)printf " LPAS $(subst $(shell pwd)/,,$(@))\n"
+ $(Q)printf " LPAS $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(LPAS) -o $@ $<
$(obj)/%.o: $(src)/%.c libpayload
- $(Q)printf " LPCC $(subst $(shell pwd)/,,$(@))\n"
+ $(Q)printf " LPCC $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(LPCC) $(CFLAGS) -c -o $@ $<
else
More information about the coreboot-gerrit
mailing list