diff options
| -rw-r--r-- | meta/classes/staging.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 27fcd1efa9..8bdb437a1f 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
| @@ -639,7 +639,12 @@ python do_prepare_recipe_sysroot () { | |||
| 639 | addtask do_prepare_recipe_sysroot before do_configure after do_fetch | 639 | addtask do_prepare_recipe_sysroot before do_configure after do_fetch |
| 640 | 640 | ||
| 641 | # Clean out the recipe specific sysroots before do_fetch | 641 | # Clean out the recipe specific sysroots before do_fetch |
| 642 | do_fetch[cleandirs] += "${RECIPE_SYSROOT} ${RECIPE_SYSROOT_NATIVE}" | 642 | # (use a prefunc so we can order before extend_recipe_sysroot if it gets added) |
| 643 | python clean_recipe_sysroot() { | ||
| 644 | return | ||
| 645 | } | ||
| 646 | clean_recipe_sysroot[cleandirs] += "${RECIPE_SYSROOT} ${RECIPE_SYSROOT_NATIVE}" | ||
| 647 | do_fetch[prefuncs] += "clean_recipe_sysroot" | ||
| 643 | 648 | ||
| 644 | python staging_taskhandler() { | 649 | python staging_taskhandler() { |
| 645 | bbtasks = e.tasklist | 650 | bbtasks = e.tasklist |
