All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] bpftool: start builds from a clean build dir
@ 2026-08-07  9:30 mark.yang
  0 siblings, 0 replies; only message in thread
From: mark.yang @ 2026-08-07  9:30 UTC (permalink / raw)
  To: openembedded-devel; +Cc: mark.yang

From: "mark.yang" <mark.yang@lge.com>

Nothing cleans ${B} between rebuilds and the kernel makefiles cache
their feature detection results there, so a sysroot-only change (say
binutils leaving DEPENDS) skips the relink and packages a stale
binary that still links libbfd.

Signed-off-by: mark.yang <mark.yang@lge.com>
---
 meta-oe/recipes-kernel/bpftool/bpftool.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb b/meta-oe/recipes-kernel/bpftool/bpftool.bb
index 66e48cfd84..419be18d99 100644
--- a/meta-oe/recipes-kernel/bpftool/bpftool.bb
+++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb
@@ -26,6 +26,8 @@ SECURITY_CFLAGS = ""
 
 do_configure[depends] += "virtual/kernel:do_shared_workdir"
 
+do_configure[cleandirs] = "${B}"
+
 COMPATIBLE_HOST = "(x86_64|aarch64|riscv64).*-linux"
 
 do_compile() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-07  9:30 [meta-oe][PATCH] bpftool: start builds from a clean build dir mark.yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.