diff options
author | Paul Barker <pbarker@konsulko.com> | 2020-03-09 14:21:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-10 23:20:33 +0000 |
commit | f5930bfb8fa1d27f4733eb8a739f72a0b0eb6284 (patch) | |
tree | dd9d47e763be7c14868ac85c20a37940789cd56a /meta/classes/kernelsrc.bbclass | |
parent | 995f7985f664f161e8e13121294009049f204d5d (diff) | |
download | poky-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.bbclass | 2 |
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 @@ | |||
1 | S = "${STAGING_KERNEL_DIR}" | 1 | S = "${STAGING_KERNEL_DIR}" |
2 | deltask do_fetch | 2 | deltask do_fetch |
3 | deltask do_unpack | 3 | deltask do_unpack |
4 | do_patch[depends] += "virtual/kernel:do_patch" | 4 | do_patch[depends] += "virtual/kernel:do_shared_workdir" |
5 | do_patch[noexec] = "1" | 5 | do_patch[noexec] = "1" |
6 | do_package[depends] += "virtual/kernel:do_populate_sysroot" | 6 | do_package[depends] += "virtual/kernel:do_populate_sysroot" |
7 | KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" | 7 | KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" |