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

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.

View File

@ -22,19 +22,6 @@ TOPDIR ?= $(CURDIR)/..
-include $(TOPDIR)/Make.defs
include ${TOPDIR}/tools/Config.mk
# 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
# Check the endian-ness of the target
# Define HOSTCC on the make command line if it differs from these defaults

View File

@ -61,19 +61,6 @@ else
.PHONY: $(TOPDIR)/.version
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
# Process architecture and board-specific directories
ARCH_DIR = arch/$(CONFIG_ARCH)

View File

@ -50,19 +50,6 @@ CONFIG_VERSION_MINOR ?= 0
CONFIG_VERSION_PATCH ?= 0
CONFIG_VERSION_BUILD ?= "0"
# 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
# Process architecture and board-specific directories
ARCH_DIR = arch\$(CONFIG_ARCH)