mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 21:23:04 +01:00
python3: Use addtask statement instead of task dependencies
The externalsrc class deletes do_patch task which results with: | ERROR: Task do_create_manifest in <PATH>/python3_3.8.2.bb depends upon | non-existent task do_patch in <PATH>/python3_3.8.2.bb Use addtask to define correct order to prevent this error, since addtask mechanism accepts deleted tasks. [YOCTO #14151] (From OE-Core rev: 35ca0a401e62a8a8b88c3089929eda401a90f762) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a746d034fa7eaad4f4876fa61c5a8c3c15e211c8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
555c367bb1
commit
4633b1696d
@@ -312,11 +312,8 @@ do_create_manifest() {
|
||||
}
|
||||
|
||||
# bitbake python -c create_manifest
|
||||
addtask do_create_manifest
|
||||
|
||||
# Make sure we have native python ready when we create a new manifest
|
||||
do_create_manifest[depends] += "${PN}:do_prepare_recipe_sysroot"
|
||||
do_create_manifest[depends] += "${PN}:do_patch"
|
||||
addtask do_create_manifest after do_patch do_prepare_recipe_sysroot
|
||||
|
||||
# manual dependency additions
|
||||
RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules"
|
||||
|
||||
Reference in New Issue
Block a user