build: Move V definition to common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
8b42ee421a
commit
5e7342bcf4
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue