diff --git a/package/pkg-waf.mk b/package/pkg-waf.mk index a593476a69..d546b4a817 100644 --- a/package/pkg-waf.mk +++ b/package/pkg-waf.mk @@ -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