mk: fix verbosity zero
Verbosity is considered enabled when $V is not empty. It is a well spread shortcut in makefiles, see git grep '$(if $(*V' So V=0 and V=1 are equivalent. It is fixed by unsetting V when it is 0. A side effect is to fix kernel module compilation verbosity which is set to 0 when V is empty. Reported-by: Ferruh Yigit <ferruh.yigit@intel.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
eb8c826e02
commit
684e6f4a78
@ -34,6 +34,9 @@ MAKEFLAGS += --no-print-directory
|
||||
# define Q to '@' or not. $(Q) is used to prefix all shell commands to
|
||||
# be executed silently.
|
||||
Q=@
|
||||
ifeq '$V' '0'
|
||||
override V=
|
||||
endif
|
||||
ifdef V
|
||||
ifeq ("$(origin V)", "command line")
|
||||
Q=
|
||||
|
@ -46,6 +46,9 @@ endif
|
||||
# define Q to '@' or not. $(Q) is used to prefix all shell commands to
|
||||
# be executed silently.
|
||||
Q=@
|
||||
ifeq '$V' '0'
|
||||
override V=
|
||||
endif
|
||||
ifdef V
|
||||
ifeq ("$(origin V)", "command line")
|
||||
Q=
|
||||
|
Loading…
Reference in New Issue
Block a user