Stefan Reinauer has submitted this change. ( https://review.coreboot.org/c/em100/+/37080 )
Change subject: Allow make V=1 ......................................................................
Allow make V=1
Implement V=1 option in the Makefile, like coreboot does. This makes debugging Makefile issues a lot easier.
Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org Change-Id: I82ea3ea47798a3857798e45dde0df129c89a5048 Reviewed-on: https://review.coreboot.org/c/em100/+/37080 Reviewed-by: Patrick Georgi pgeorgi@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M Makefile 1 file changed, 6 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/Makefile b/Makefile index 0518c6f..240b479 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,13 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
+# Make is silent per default, but 'make V=1' will show all compiler calls. +Q:=@ +ifneq ($(V),1) +ifneq ($(Q),) .SILENT: +endif +endif
CFLAGS?=-O2 -g CFLAGS+=-Wall -Werror