[v3] icu: fix make_icudata dependencies

Message ID 20220124114523.26069-1-kory.maincent@bootlin.com
State Accepted, archived
Commit c134f62062a6359d2d5831ba4cb9694035e4f25a
Headers show
Series [v3] icu: fix make_icudata dependencies | expand

Commit Message

Köry Maincent Jan. 24, 2022, 11:45 a.m. UTC
The make_icudata task is set before the configure task then the
dependencies for this task are not populate yet.

Fixed it by adding do_prepare_recipe_sysroot task dependency to the
make_icudata task.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---

Change in v2:
Use deptask flag instead of setting manually the task dependencies with
depends flag.

Change in v3:
Add do_prepare_recipe_sysroot task dependency in place of using deptask
flags.

 meta/recipes-support/icu/icu_70.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-support/icu/icu_70.1.bb b/meta/recipes-support/icu/icu_70.1.bb
index 0988ae8b8e..dd684fe5b9 100644
--- a/meta/recipes-support/icu/icu_70.1.bb
+++ b/meta/recipes-support/icu/icu_70.1.bb
@@ -147,4 +147,4 @@  do_make_icudata() {
     :
 }
 
-addtask make_icudata before do_configure after do_patch
+addtask make_icudata before do_configure after do_patch do_prepare_recipe_sysroot