aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2020-10-16 10:21:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-17 23:22:15 +0100
commit92bf649f16926f8e3b2f7b8aab9cd7f31bbc5082 (patch)
tree5b737904cf2fa1a80dcd7dffa2b83953d07247b0
parent802e80d35e6374b9b80f89068d00b84fe2d04ca1 (diff)
downloadopenembedded-core-contrib-92bf649f16926f8e3b2f7b8aab9cd7f31bbc5082.tar.gz
openembedded-core-contrib-92bf649f16926f8e3b2f7b8aab9cd7f31bbc5082.tar.bz2
openembedded-core-contrib-92bf649f16926f8e3b2f7b8aab9cd7f31bbc5082.zip
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 <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/waf.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
index 8fa5063645c..188119f3565 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}"