diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2019-04-02 20:38:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-03 14:50:13 +0100 |
commit | 6334737a782cc81c28e168ed24e566d35752a5a2 (patch) | |
tree | 12bfefce4e5aef5dca5a8621ff46d734ea9c97d8 /meta | |
parent | b53a83c2a39b3375c4de962314dd77effc9727c4 (diff) | |
download | poky-6334737a782cc81c28e168ed24e566d35752a5a2.tar.gz |
base.bbclass, staging.bbclass: Move prepare_recipe_sysroot task dependency
Move prepare_recipe_sysroot's task dependency on populate_sysroot from
base.bbclass (where it was specified in the middle of do_configure's
definition) to staging.bbclass (where the rest of
do_prepare_recipe_sysroot is defined). This was a left-over from when
recipe specific sysroots were introduced in commit 809746f5 and the
task dependency on populate_sysroot was moved from do_configure to
do_prepare_recipe_sysroot.
(From OE-Core rev: fe6d020dd609fbde7e4413cef9bbdd4e3962c82c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/base.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/staging.bbclass | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 8ece51fe42..d0b82d747d 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -310,7 +310,6 @@ CLEANBROKEN = "0" | |||
310 | 310 | ||
311 | addtask configure after do_patch | 311 | addtask configure after do_patch |
312 | do_configure[dirs] = "${B}" | 312 | do_configure[dirs] = "${B}" |
313 | do_prepare_recipe_sysroot[deptask] = "do_populate_sysroot" | ||
314 | base_do_configure() { | 313 | base_do_configure() { |
315 | if [ -n "${CONFIGURESTAMPFILE}" -a -e "${CONFIGURESTAMPFILE}" ]; then | 314 | if [ -n "${CONFIGURESTAMPFILE}" -a -e "${CONFIGURESTAMPFILE}" ]; then |
316 | if [ "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" ]; then | 315 | if [ "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" ]; then |
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index c9bcd745fe..062b2817c8 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -577,6 +577,7 @@ python extend_recipe_sysroot() { | |||
577 | } | 577 | } |
578 | extend_recipe_sysroot[vardepsexclude] += "MACHINE_ARCH PACKAGE_EXTRA_ARCHS SDK_ARCH BUILD_ARCH SDK_OS BB_TASKDEPDATA" | 578 | extend_recipe_sysroot[vardepsexclude] += "MACHINE_ARCH PACKAGE_EXTRA_ARCHS SDK_ARCH BUILD_ARCH SDK_OS BB_TASKDEPDATA" |
579 | 579 | ||
580 | do_prepare_recipe_sysroot[deptask] = "do_populate_sysroot" | ||
580 | python do_prepare_recipe_sysroot () { | 581 | python do_prepare_recipe_sysroot () { |
581 | bb.build.exec_func("extend_recipe_sysroot", d) | 582 | bb.build.exec_func("extend_recipe_sysroot", d) |
582 | } | 583 | } |