summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-03-09 14:21:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-10 23:20:33 +0000
commitc82b02815b71b9edbd408fba0406873d738a92c7 (patch)
tree072806d8b6dce21f4355365049e755f67fd1f34f /meta/recipes-kernel
parentf5930bfb8fa1d27f4733eb8a739f72a0b0eb6284 (diff)
downloadpoky-c82b02815b71b9edbd408fba0406873d738a92c7.tar.gz
perf: 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. (From OE-Core rev: eab605bab94552046ec4adae5debe026cc03bb4c) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/perf/perf.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 10a5b88260..e005eb082b 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -52,7 +52,7 @@ export PYTHON_SITEPACKAGES_DIR
52#kernel 3.1+ supports WERROR to disable warnings as errors 52#kernel 3.1+ supports WERROR to disable warnings as errors
53export WERROR = "0" 53export WERROR = "0"
54 54
55do_populate_lic[depends] += "virtual/kernel:do_patch" 55do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
56 56
57# needed for building the tools/perf Perl binding 57# needed for building the tools/perf Perl binding
58include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)} 58include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)}