summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-29 00:53:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-29 14:01:49 +0100
commitb5e03a1a17ec95b797258aad26aa129a74bb2b69 (patch)
tree256173ce686f4cb0fce9ffb0ec31109f691abecb
parent4d041557e7d3c6ff8fa5f2e0abae14839f4be9cf (diff)
downloadpoky-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.bbclass1
-rw-r--r--meta/classes/image.bbclass2
-rw-r--r--meta/classes/kernel.bbclass2
-rw-r--r--meta/recipes-kernel/linux/linux-tools.inc2
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
249do_build = "" 249do_build = ""
250do_build[func] = "1" 250do_build[func] = "1"
251do_build[noexec] = "1" 251do_build[noexec] = "1"
252do_build[recrdeptask] += "do_deploy"
252do_build () { 253do_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}"
15PACKAGE_INSTALL_ATTEMPTONLY ?= "" 15PACKAGE_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
18do_rootfs[recrdeptask] += "do_deploy do_populate_sysroot" 18do_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.
21EXCLUDE_FROM_WORLD = "1" 21EXCLUDE_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}
493do_deploy[dirs] = "${DEPLOYDIR} ${B}" 493do_deploy[dirs] = "${DEPLOYDIR} ${B}"
494 494
495addtask deploy before do_package after do_install 495addtask deploy before do_build after do_install
496 496
497EXPORT_FUNCTIONS do_deploy 497EXPORT_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
14addtask compile_perf after do_compile before do_install 14addtask compile_perf after do_compile before do_install
15addtask install_perf after do_install before do_package do_deploy 15addtask install_perf after do_install before do_package
16 16
17do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" 17do_compile_perf[depends] = "virtual/libc:do_populate_sysroot"
18do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" 18do_compile_perf[depends] =+ "elfutils:do_populate_sysroot"