From: Antonin Godard <antoningod...@pm.me>

To avoid working with undeterministic config files, remove all the
temporary files to start from scratch.

Signed-off-by: Antonin Godard <antoningod...@pm.me>
Signed-off-by: Steve Sakoman <st...@sakoman.com>
---
 meta/recipes-core/busybox/busybox.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index 616a23258a..f0c5666f47 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -157,6 +157,9 @@ do_compile() {
        cp include/autoconf.h.orig include/autoconf.h
 
        if [ "${BUSYBOX_SPLIT_SUID}" = "1" -a x`grep 
"CONFIG_FEATURE_INDIVIDUAL=y" .config` = x ]; then
+               # Guard againt interrupted do_compile: clean temporary files.
+               rm -f .config.app.suid .config.app.nosuid .config.disable.apps 
.config.nonapps
+
                # split the .config into two parts, and make two busybox 
binaries
                oe_runmake busybox.cfg.suid
                oe_runmake busybox.cfg.nosuid
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177476): 
https://lists.openembedded.org/g/openembedded-core/message/177476
Mute This Topic: https://lists.openembedded.org/mt/97097237/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to