diff options
author | Denys Zagorui <dzagorui@cisco.com> | 2023-05-23 07:00:20 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-23 23:08:06 -0700 |
commit | 3de33c7ecc9998049f69d5eb668023f607537f15 (patch) | |
tree | 4ecb237ecb5ddec02669867b9a939e0b568c0845 | |
parent | 4a602cb1f3f9373df4d755dba70166b6728930e7 (diff) | |
download | meta-openembedded-3de33c7ecc9998049f69d5eb668023f607537f15.tar.gz |
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 <dzagorui@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-kernel/bpftool/bpftool.bb | 4 |
1 files changed, 1 insertions, 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" | |||
7 | 7 | ||
8 | inherit bash-completion kernelsrc kernel-arch | 8 | inherit bash-completion kernelsrc kernel-arch |
9 | 9 | ||
10 | do_populate_lic[depends] += "virtual/kernel:do_patch" | 10 | do_populate_lic[depends] += "virtual/kernel:do_shared_workdir" |
11 | 11 | ||
12 | EXTRA_OEMAKE = "\ | 12 | EXTRA_OEMAKE = "\ |
13 | V=1 \ | 13 | V=1 \ |
@@ -22,8 +22,6 @@ EXTRA_OEMAKE = "\ | |||
22 | 22 | ||
23 | SECURITY_CFLAGS = "" | 23 | SECURITY_CFLAGS = "" |
24 | 24 | ||
25 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
26 | |||
27 | COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" | 25 | COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" |
28 | COMPATIBLE_HOST:libc-musl = 'null' | 26 | COMPATIBLE_HOST:libc-musl = 'null' |
29 | 27 | ||