build: Move V definition to common place

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-19 16:26:15 +08:00
committed by Abdelatif Guettouche
parent 8b42ee421a
commit 5e7342bcf4
4 changed files with 13 additions and 39 deletions
+13
View File
@@ -47,6 +47,19 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
export SHELL=cmd
endif
# Control build verbosity
#
# V=1,2: Enable echo of commands
# V=2: Enable bug/verbose options in tools and scripts
ifeq ($(V),1)
export Q :=
else ifeq ($(V),2)
export Q :=
else
export Q := @
endif
# These are configuration variables that are quoted by configuration tool
# but which must be unquoted when used in the build system.