Skip to content

Commit 81013d0

Browse files
committed
Introduce 'V=1' as a shorthand for 'VERBOSE=1'
Given the prevalence of 'make V=1' in existing practices, this commit adds support for it while retaining the 'VERBOSE' option for those who may prefer it.
1 parent 3cb4275 commit 81013d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mk/common.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ else
66
endif
77

88
# Control the build verbosity
9+
# 'make V=1' equals to 'make VERBOSE=1'
10+
ifeq ("$(origin V)", "command line")
11+
VERBOSE = $(V)
12+
endif
913
ifeq ("$(VERBOSE)","1")
1014
Q :=
1115
VECHO = @true

0 commit comments

Comments
 (0)