When the externalsrc class is used the tasks listed in
SRCTREECOVEREDTASKS are deleted to prevent them being executed. If
externalsrc is used for the kernel then this will include
virtual/kernel:do_patch.

We can depend on do_shared_workdir instead as this will survive when
externalsrc is used.

Similar to [openembedded-core] (eab605bab945 "perf: Fix externalsrc support")

Signed-off-by: Denys Zagorui <[email protected]>
---
 meta-oe/recipes-kernel/bpftool/bpftool.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb 
b/meta-oe/recipes-kernel/bpftool/bpftool.bb
index 67a821c07..d4286295c 100644
--- a/meta-oe/recipes-kernel/bpftool/bpftool.bb
+++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb
@@ -7,7 +7,7 @@ PROVIDES = "virtual/bpftool"
 
 inherit bash-completion kernelsrc kernel-arch
 
-do_populate_lic[depends] += "virtual/kernel:do_patch"
+do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
 
 EXTRA_OEMAKE = "\
     V=1 \
@@ -22,8 +22,6 @@ EXTRA_OEMAKE = "\
 
 SECURITY_CFLAGS = ""
 
-do_configure[depends] += "virtual/kernel:do_shared_workdir"
-
 COMPATIBLE_HOST = "(x86_64|aarch64).*-linux"
 COMPATIBLE_HOST:libc-musl = 'null'
 
-- 
2.35.6

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102739): 
https://lists.openembedded.org/g/openembedded-devel/message/102739
Mute This Topic: https://lists.openembedded.org/mt/99087781/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to