[PATCH] tools: Wait for logo generation before stripping
Jan Kiszka
jan.kiszka at siemens.com
Sat Aug 23 13:30:41 CEST 2025
From: Jan Kiszka <jan.kiszka at siemens.com>
We otherwise risk that strip will fail because the bmp_logo binary is in
use during a multi-job build.
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
---
Also feels a bit strange that the logo data is generated when one asks
for building tools. As long as that is the case, we need such an
ordering.
tools/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 02297e8c93a..9b8a89e66e6 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -356,7 +356,7 @@ override HOSTCFLAGS = $(CFLAGS)
quiet_cmd_crosstools_strip = STRIP $^
cmd_crosstools_strip = $(STRIP) $^; touch $@
-$(obj)/.strip: $(call objectify,$(filter $(always),$(hostprogs-y)))
+$(obj)/.strip: $(call objectify,$(filter $(always),$(hostprogs-y))) $(LOGO-y)
$(call cmd,crosstools_strip)
always += .strip
--
2.43.0
More information about the U-Boot
mailing list