Allows verbose build to work the same on esp32 port as other ports. To minimise copy/paste, split the BUILD_VERBOSE section of mkenv.mk out to its own verbose.mk and include this in the port Makefile. Signed-off-by: Angus Gratton <angus@redyak.com.au>
16 lines
405 B
Makefile
16 lines
405 B
Makefile
# Turn on increased build verbosity by defining BUILD_VERBOSE in your main
|
|
# Makefile or in your environment. You can also use V=1 on the make command
|
|
# line.
|
|
|
|
ifeq ("$(origin V)", "command line")
|
|
BUILD_VERBOSE=$(V)
|
|
endif
|
|
ifndef BUILD_VERBOSE
|
|
$(info Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.)
|
|
BUILD_VERBOSE = 0
|
|
endif
|
|
ifeq ($(BUILD_VERBOSE),0)
|
|
Q = @
|
|
else
|
|
Q =
|
|
endif
|