diff options
author | Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> | 2021-01-26 00:56:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-05 23:35:18 +0000 |
commit | e4de6d1752b05350d062a9ff3c0ec26c68a64df7 (patch) | |
tree | 0952b29da225861eeed434ff0e7bea6eb6687001 /meta/recipes-devtools | |
parent | 70143264ec9c6e9f7a22afe83c35564724c77532 (diff) | |
download | poky-e4de6d1752b05350d062a9ff3c0ec26c68a64df7.tar.gz |
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: a746d034fa7eaad4f4876fa61c5a8c3c15e211c8)
(From OE-Core rev: 782f7f4f73d7b1e1bd649db1984a63d94d2410fe)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ed8b81af60c7d9c7a1c614ad137408637bc43ed)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.8.5.bb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3_3.8.5.bb b/meta/recipes-devtools/python/python3_3.8.5.bb index 8c34ae2b40..0e588d7e4c 100644 --- a/meta/recipes-devtools/python/python3_3.8.5.bb +++ b/meta/recipes-devtools/python/python3_3.8.5.bb | |||
@@ -307,11 +307,8 @@ do_create_manifest() { | |||
307 | } | 307 | } |
308 | 308 | ||
309 | # bitbake python -c create_manifest | 309 | # bitbake python -c create_manifest |
310 | addtask do_create_manifest | ||
311 | |||
312 | # Make sure we have native python ready when we create a new manifest | 310 | # Make sure we have native python ready when we create a new manifest |
313 | do_create_manifest[depends] += "${PN}:do_prepare_recipe_sysroot" | 311 | addtask do_create_manifest after do_patch do_prepare_recipe_sysroot |
314 | do_create_manifest[depends] += "${PN}:do_patch" | ||
315 | 312 | ||
316 | # manual dependency additions | 313 | # manual dependency additions |
317 | RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" | 314 | RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" |