diff mbox series

[scarthgap,15/30] setuptools3_legacy: ensure ${B} is clean

Message ID 9a32956dd5dcbcc380780bc25e4303280f2ca9f9.1781682189.git.yoann.congal@smile.fr
State New
Headers show
Series [scarthgap,01/30] conf/machine: fix typos in ARM and x86 README files | expand

Commit Message

Yoann Congal June 17, 2026, 7:44 a.m. UTC
From: Ross Burton <ross.burton@arm.com>

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

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>
---
 meta/classes-recipe/setuptools3_legacy.bbclass | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/classes-recipe/setuptools3_legacy.bbclass b/meta/classes-recipe/setuptools3_legacy.bbclass
index 264b1f5cfb1..45f567391db 100644
--- a/meta/classes-recipe/setuptools3_legacy.bbclass
+++ b/meta/classes-recipe/setuptools3_legacy.bbclass
@@ -17,6 +17,7 @@ 
 inherit setuptools3-base
 
 B = "${WORKDIR}/build"
+do_configure[cleandirs] = "${B}"
 
 SETUPTOOLS_BUILD_ARGS ?= ""
 SETUPTOOLS_INSTALL_ARGS ?= "--root=${D} \