From 3de33c7ecc9998049f69d5eb668023f607537f15 Mon Sep 17 00:00:00 2001 From: Denys Zagorui Date: Tue, 23 May 2023 07:00:20 -0700 Subject: bpftool: Fix externalsrc support 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 Signed-off-by: Khem Raj --- 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 67a821c07c..d4286295c0 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' -- cgit v1.2.3-54-g00ecf