From 8efc998932e2f81d681ffbe4e4fc52597e3304ce Mon Sep 17 00:00:00 2001 From: Jonathan Anderson Date: Wed, 7 Jan 2015 16:05:56 -0330 Subject: [PATCH] Provide option for less verbose `make` output. Allow autoconfiguration output to be silenced by setting the ARDUINO_QUIET_MAKE variable. --- Common.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Common.mk b/Common.mk index 65a487a..8e9a3bc 100644 --- a/Common.mk +++ b/Common.mk @@ -16,6 +16,7 @@ runscript_if_exists = \ # the number of bytes indicated by the second argument. space_pad_to = $(shell echo $(1) " " | head -c$(2)) +ifndef ARDUINO_QUIET_MAKE # Call with some text, and a prefix tag if desired (like [AUTODETECTED]), show_config_info = $(call arduino_output,- $(call space_pad_to,$(2),20) $(1)) @@ -28,6 +29,7 @@ show_separator = $(call arduino_output,-------------------------) $(call show_separator) $(call arduino_output,Arduino.mk Configuration:) +endif # !ARDUINO_QUIET_MAKE ######################################################################## #