mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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: 5ac98c776f9b77804a0ee812f47f3ecf593e432f) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7b053a4ab7
commit
74f229160c
@@ -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}")}"
|
||||
|
||||
Reference in New Issue
Block a user