mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08: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: 2c17d35cc7b9c5e01fd5829858d2f0234e7ac8d6) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
995f7985f6
commit
f5930bfb8f
@@ -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