From 92bf649f16926f8e3b2f7b8aab9cd7f31bbc5082 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 16 Oct 2020 10:21:22 +0100 Subject: waf: add ${B} to do_configure[cleandirs] As waf is always out-of-tree, we can delete ${B} before every build. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/waf.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass index 8fa5063645..188119f356 100644 --- a/meta/classes/waf.bbclass +++ b/meta/classes/waf.bbclass @@ -6,6 +6,7 @@ DISABLE_STATIC = "" WAF_PYTHON ?= "python3" B = "${WORKDIR}/build" +do_configure[cleandirs] += "${B}" EXTRA_OECONF_append = " ${PACKAGECONFIG_CONFARGS}" -- cgit 1.2.3-korg