summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernelsrc.bbclass
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-03-09 14:21:37 +0000
committerAnuj Mittal <anuj.mittal@intel.com>2020-04-06 15:17:05 +0800
commit5ac98c776f9b77804a0ee812f47f3ecf593e432f (patch)
treecdc445c54c72cc16d56c1cc9e97d4d41f0747b0a /meta/classes/kernelsrc.bbclass
parentc30d6b98b739f1ee9c2ebb937e739453899b513d (diff)
downloadopenembedded-core-contrib-5ac98c776f9b77804a0ee812f47f3ecf593e432f.tar.gz
kernelsrc.bbclass: 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. Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2c17d35cc7b9c5e01fd5829858d2f0234e7ac8d6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'meta/classes/kernelsrc.bbclass')
-rw-r--r--meta/classes/kernelsrc.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass
index 675d40ec9a9..a951ba3325e 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -1,7 +1,7 @@
S = "${STAGING_KERNEL_DIR}"
deltask do_fetch
deltask do_unpack
-do_patch[depends] += "virtual/kernel:do_patch"
+do_patch[depends] += "virtual/kernel:do_shared_workdir"
do_patch[noexec] = "1"
do_package[depends] += "virtual/kernel:do_populate_sysroot"
KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}"