diff options
| author | Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> | 2021-01-26 00:56:26 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-30 10:41:04 +0000 |
| commit | 8ed8b81af60c7d9c7a1c614ad137408637bc43ed (patch) | |
| tree | 92c3ec3ea3c46660fb363c3ba814384131ffcd32 /meta/recipes-devtools/python | |
| parent | 44ecc935b2ba919ed5bf026c02cdb814e207d996 (diff) | |
| download | poky-8ed8b81af60c7d9c7a1c614ad137408637bc43ed.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)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.9.1.bb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3_3.9.1.bb b/meta/recipes-devtools/python/python3_3.9.1.bb index a2dc572672..bdeddc4e68 100644 --- a/meta/recipes-devtools/python/python3_3.9.1.bb +++ b/meta/recipes-devtools/python/python3_3.9.1.bb | |||
| @@ -315,11 +315,8 @@ do_create_manifest() { | |||
| 315 | } | 315 | } |
| 316 | 316 | ||
| 317 | # bitbake python -c create_manifest | 317 | # bitbake python -c create_manifest |
| 318 | addtask do_create_manifest | ||
| 319 | |||
| 320 | # Make sure we have native python ready when we create a new manifest | 318 | # Make sure we have native python ready when we create a new manifest |
| 321 | do_create_manifest[depends] += "${PN}:do_prepare_recipe_sysroot" | 319 | addtask do_create_manifest after do_patch do_prepare_recipe_sysroot |
| 322 | do_create_manifest[depends] += "${PN}:do_patch" | ||
| 323 | 320 | ||
| 324 | # manual dependency additions | 321 | # manual dependency additions |
| 325 | RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" | 322 | RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" |
