diff options
author | Ross Burton <ross@burtonini.com> | 2020-10-16 10:21:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-17 23:22:19 +0100 |
commit | b6e1e3150eef302517934aa352772d1c623a493c (patch) | |
tree | 45ee7e7892901d828c8c96762121d0a77371c44f | |
parent | 85b6301c6190a1d1823de9bfe7285f7a7d15a46f (diff) | |
download | poky-b6e1e3150eef302517934aa352772d1c623a493c.tar.gz |
waf: add ${B} to do_configure[cleandirs]
As waf is always out-of-tree, we can delete ${B} before every build.
(From OE-Core rev: 92bf649f16926f8e3b2f7b8aab9cd7f31bbc5082)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/waf.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
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 = "" | |||
6 | WAF_PYTHON ?= "python3" | 6 | WAF_PYTHON ?= "python3" |
7 | 7 | ||
8 | B = "${WORKDIR}/build" | 8 | B = "${WORKDIR}/build" |
9 | do_configure[cleandirs] += "${B}" | ||
9 | 10 | ||
10 | EXTRA_OECONF_append = " ${PACKAGECONFIG_CONFARGS}" | 11 | EXTRA_OECONF_append = " ${PACKAGECONFIG_CONFARGS}" |
11 | 12 | ||