summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernelsrc.bbclass
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-03-09 14:21:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-10 23:20:33 +0000
commitf5930bfb8fa1d27f4733eb8a739f72a0b0eb6284 (patch)
treedd9d47e763be7c14868ac85c20a37940789cd56a /meta/classes/kernelsrc.bbclass
parent995f7985f664f161e8e13121294009049f204d5d (diff)
downloadpoky-f5930bfb8fa1d27f4733eb8a739f72a0b0eb6284.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. (From OE-Core rev: 2c17d35cc7b9c5e01fd5829858d2f0234e7ac8d6) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 675d40ec9a..a951ba3325 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -1,7 +1,7 @@
1S = "${STAGING_KERNEL_DIR}" 1S = "${STAGING_KERNEL_DIR}"
2deltask do_fetch 2deltask do_fetch
3deltask do_unpack 3deltask do_unpack
4do_patch[depends] += "virtual/kernel:do_patch" 4do_patch[depends] += "virtual/kernel:do_shared_workdir"
5do_patch[noexec] = "1" 5do_patch[noexec] = "1"
6do_package[depends] += "virtual/kernel:do_populate_sysroot" 6do_package[depends] += "virtual/kernel:do_populate_sysroot"
7KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" 7KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}"