diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-30 15:22:12 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-07-13 10:22:40 +0200 |
commit | 739a6adbfb5cceb138719f079205067b73d2a806 (patch) | |
tree | e1949cc0c2846172a35114cd37f472006dfbb0c0 /payloads/coreinfo/Makefile | |
parent | 657deac015e3779c1cdca837cf0f1b77b93baa54 (diff) |
coreinfo: Fix build output (cosmetical)
This patch aligns the output of coreinfo with the output
of libpayload, and switches from using $(Q) to .SILENT
Change-Id: I6c3cdda7febc02bab9195fc98f46490c0d478a9a
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/10744
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/coreinfo/Makefile')
-rw-r--r-- | payloads/coreinfo/Makefile | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile index 3cc0fc9d16..d63f5156a8 100644 --- a/payloads/coreinfo/Makefile +++ b/payloads/coreinfo/Makefile @@ -43,7 +43,7 @@ MAKEFLAGS += -rR --no-print-directory # Make is silent per default, but 'make V=1' will show all compiler calls. ifneq ($(V),1) -Q := @ +.SILENT: endif HOSTCC ?= gcc @@ -72,19 +72,19 @@ include $(src)/.config all: $(TARGET) $(TARGET): $(src)/.config $(obj)/config.h $(OBJS) libpayload - $(Q)printf " LPCC $(subst $(shell pwd)/,,$(@))\n" - $(Q)$(LPCC) -o $@ $(OBJS) - $(Q)$(OBJCOPY) --only-keep-debug $@ $(TARGET).debug - $(Q)$(OBJCOPY) --strip-debug $@ - $(Q)$(OBJCOPY) --add-gnu-debuglink=$(TARGET).debug $@ + printf " LPCC $(subst $(shell pwd)/,,$(@)) (LINK)\n" + $(LPCC) -o $@ $(OBJS) + $(OBJCOPY) --only-keep-debug $@ $(TARGET).debug + $(OBJCOPY) --strip-debug $@ + $(OBJCOPY) --add-gnu-debuglink=$(TARGET).debug $@ $(obj)/%.S.o: $(src)/%.S libpayload - $(Q)printf " LPAS $(subst $(shell pwd)/,,$(@))\n" - $(Q)$(LPAS) -o $@ $< + printf " LPAS $(subst $(shell pwd)/,,$(@))\n" + $(LPAS) -o $@ $< $(obj)/%.o: $(src)/%.c libpayload - $(Q)printf " LPCC $(subst $(shell pwd)/,,$(@))\n" - $(Q)$(LPCC) $(CFLAGS) -c -o $@ $< + printf " LPCC $(subst $(shell pwd)/,,$(@))\n" + $(LPCC) $(CFLAGS) -c -o $@ $< else all: config @@ -92,13 +92,13 @@ endif ifneq ($(strip $(HAVE_LIBPAYLOAD)),) libpayload: - $(Q)printf "Found Libpayload $(LIBPAYLOAD_DIR).\n" + printf "Found Libpayload $(LIBPAYLOAD_DIR).\n" else libpayload: - $(Q)printf "Building libpayload @ $(LIBCONFIG_PATH).\n" - $(Q)make -C $(LIBCONFIG_PATH) distclean - $(Q)make -C $(LIBCONFIG_PATH) $(LIB_CONFIG) - $(Q)make -C $(LIBCONFIG_PATH) DESTDIR=$(shell pwd)/$(LIBPAYLOAD_DIR) install + printf "Building libpayload @ $(LIBCONFIG_PATH).\n" + make -C $(LIBCONFIG_PATH) distclean + make -C $(LIBCONFIG_PATH) $(LIB_CONFIG) + make -C $(LIBCONFIG_PATH) DESTDIR=$(shell pwd)/$(LIBPAYLOAD_DIR) install endif $(obj)/config.h: @@ -107,11 +107,11 @@ $(obj)/config.h: $(shell mkdir -p $(obj) $(objk)/lxdialog $(KCONFIG_SPLITCONFIG)) clean: - $(Q)rm -rf build/*.elf build/*.o + rm -rf build/*.elf build/*.o distclean: clean - $(Q)rm -rf build - $(Q)rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig* + rm -rf build + rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig* include $(srck)/Makefile |