From: David GOUARIN Date: Tue, 13 Oct 2020 19:49:45 +0000 (+0200) Subject: package/pkg-waf.mk: allow for override of _WAF directive X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d49f2846b0821d10bbafa7e4a71a17e56a1bbf73;p=buildroot.git package/pkg-waf.mk: allow for override of _WAF directive Some packages have their own waf copy, but not located at the top-level directory. In order to support those packages, we allow packages to override the default _WAF location. Signed-off-by: David GOUARIN Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-waf.mk b/package/pkg-waf.mk index 35e56d3c13..038d89454e 100644 --- a/package/pkg-waf.mk +++ b/package/pkg-waf.mk @@ -46,7 +46,7 @@ ifeq ($$($(2)_NEEDS_EXTERNAL_WAF),YES) $(2)_DEPENDENCIES += host-waf $(2)_WAF = $$(HOST_DIR)/bin/waf else -$(2)_WAF = ./waf +$(2)_WAF ?= ./waf endif $(2)_BUILD_OPTS ?=