diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-29 00:53:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-29 14:01:49 +0100 |
commit | b5e03a1a17ec95b797258aad26aa129a74bb2b69 (patch) | |
tree | 256173ce686f4cb0fce9ffb0ec31109f691abecb | |
parent | 4d041557e7d3c6ff8fa5f2e0abae14839f4be9cf (diff) | |
download | poky-b5e03a1a17ec95b797258aad26aa129a74bb2b69.tar.gz |
base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just happens before a build completes
(From OE-Core rev: a3b80688465ba5ba7e6d514f9a40ee224a9d3a28)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/base.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/kernel.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-tools.inc | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 300981010a..4fd83020d9 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -249,6 +249,7 @@ addtask build after do_populate_sysroot | |||
249 | do_build = "" | 249 | do_build = "" |
250 | do_build[func] = "1" | 250 | do_build[func] = "1" |
251 | do_build[noexec] = "1" | 251 | do_build[noexec] = "1" |
252 | do_build[recrdeptask] += "do_deploy" | ||
252 | do_build () { | 253 | do_build () { |
253 | : | 254 | : |
254 | } | 255 | } |
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index aa842c78ca..2938e243cc 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -15,7 +15,7 @@ export PACKAGE_INSTALL ?= "${IMAGE_INSTALL}" | |||
15 | PACKAGE_INSTALL_ATTEMPTONLY ?= "" | 15 | PACKAGE_INSTALL_ATTEMPTONLY ?= "" |
16 | 16 | ||
17 | # We need to recursively follow RDEPENDS and RRECOMMENDS for images | 17 | # We need to recursively follow RDEPENDS and RRECOMMENDS for images |
18 | do_rootfs[recrdeptask] += "do_deploy do_populate_sysroot" | 18 | do_rootfs[recrdeptask] += "do_populate_sysroot" |
19 | 19 | ||
20 | # Images are generally built explicitly, do not need to be part of world. | 20 | # Images are generally built explicitly, do not need to be part of world. |
21 | EXCLUDE_FROM_WORLD = "1" | 21 | EXCLUDE_FROM_WORLD = "1" |
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 9f014d4953..31077906c9 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -492,7 +492,7 @@ kernel_do_deploy() { | |||
492 | } | 492 | } |
493 | do_deploy[dirs] = "${DEPLOYDIR} ${B}" | 493 | do_deploy[dirs] = "${DEPLOYDIR} ${B}" |
494 | 494 | ||
495 | addtask deploy before do_package after do_install | 495 | addtask deploy before do_build after do_install |
496 | 496 | ||
497 | EXPORT_FUNCTIONS do_deploy | 497 | EXPORT_FUNCTIONS do_deploy |
498 | 498 | ||
diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc index e42c8e3be7..2ac74a58b1 100644 --- a/meta/recipes-kernel/linux/linux-tools.inc +++ b/meta/recipes-kernel/linux/linux-tools.inc | |||
@@ -12,7 +12,7 @@ do_install_perf() { | |||
12 | 12 | ||
13 | # perf tasks | 13 | # perf tasks |
14 | addtask compile_perf after do_compile before do_install | 14 | addtask compile_perf after do_compile before do_install |
15 | addtask install_perf after do_install before do_package do_deploy | 15 | addtask install_perf after do_install before do_package |
16 | 16 | ||
17 | do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" | 17 | do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" |
18 | do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" | 18 | do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" |