package/pkg-waf.mk: enable verbose compile

Honour the buildroot verbose flag ('V=1') for the waf compile step by
adding '-v' to the build command.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Seiderer 2022-01-03 22:56:19 +01:00 committed by Yann E. MORIN
parent 78a989b1f1
commit f0db062f4b

View file

@ -20,6 +20,8 @@
#
################################################################################
WAF_OPTS = $(if $(VERBOSE),-v) -j $(PARALLEL_JOBS)
################################################################################
# inner-waf-package -- defines how the configuration, compilation and
# installation of a waf package should be done, implements a few hooks
@ -74,7 +76,7 @@ ifndef $(2)_BUILD_CMDS
define $(2)_BUILD_CMDS
cd $$($$(PKG)_SRCDIR) && \
$$(TARGET_MAKE_ENV) $$(HOST_DIR)/bin/python3 $$($(2)_WAF) \
build -j $$(PARALLEL_JOBS) $$($(2)_BUILD_OPTS) \
build $$(WAF_OPTS) $$($(2)_BUILD_OPTS) \
$$($(2)_WAF_OPTS)
endef
endif