summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-03-09 14:21:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-17 08:29:02 +0100
commit7b053a4ab7ea39d93e5fc6d1cefbedefc8b8a1fa (patch)
treef9b5c50e9987a5ab76dc9bd5c75d32d2cf5a081e /meta
parent5b38b8af6afd2765fefb4ca4f3a4b6bcf61a6306 (diff)
downloadpoky-7b053a4ab7ea39d93e5fc6d1cefbedefc8b8a1fa.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: c30d6b98b739f1ee9c2ebb937e739453899b513d) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eab605bab94552046ec4adae5debe026cc03bb4c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 8201c0cb60..90f05c0e62 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -51,7 +51,7 @@ export PYTHON_SITEPACKAGES_DIR
51#kernel 3.1+ supports WERROR to disable warnings as errors 51#kernel 3.1+ supports WERROR to disable warnings as errors
52export WERROR = "0" 52export WERROR = "0"
53 53
54do_populate_lic[depends] += "virtual/kernel:do_patch" 54do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
55 55
56# needed for building the tools/perf Perl binding 56# needed for building the tools/perf Perl binding
57include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)} 57include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)}