setuptools3_legacy: ensure ${B} is clean

We do builds in a separate directory in this class, so add it to cleandirs
to ensure that it is empty.

(From OE-Core rev: 9a32956dd5dcbcc380780bc25e4303280f2ca9f9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2575adeceedae72f6359c0a35ec5c5325a4ec363)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
Ross Burton authored and Paul Barker committed 2026-06-19 12:49:08 +01:00
1 parent fb0a4eb7a8
commit b660629c0c
1 file changed
+1
@@ -17,6 +17,7 @@
inherit setuptools3-base
B = "${WORKDIR}/build"
do_configure[cleandirs] = "${B}"
SETUPTOOLS_BUILD_ARGS ?= ""
SETUPTOOLS_INSTALL_ARGS ?= "--root=${D} \