diff --git a/Makefile b/Makefile index 6a51e0db..32587db3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,13 @@ # SPDX-License-Identifier: GPL-2.0 # Top level Makefile for iproute2 +ifeq ("$(origin V)", "command line") +VERBOSE = $(V) +endif +ifndef VERBOSE +VERBOSE = 0 +endif + ifeq ($(VERBOSE),0) MAKEFLAGS += --no-print-directory endif