summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_base.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-06-25 12:45:50 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-03 14:54:58 +0100
commit66d3d3b2289f45f07b3ce407f2c299ca36dc6788 (patch)
tree12219a74aef91f74123043e7dde0b1e86b17f83d /meta/classes/populate_sdk_base.bbclass
parent41550ca5dec0e23f20f24a8dce48dc927fcbfb59 (diff)
downloadpoky-66d3d3b2289f45f07b3ce407f2c299ca36dc6788.tar.gz
populate_sdk_base.bbclass: Change to using task specific depends
If we combine the do_populate_sdk with the image generation, we want to avoid the dependency processing unless do_populate_sdk is run. This requires the bitbake change to implement task based rdepends. (From OE-Core rev: 5fa9f980248e7813ce74f48a29c4b7d94e308cf9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r--meta/classes/populate_sdk_base.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index a0a0a80e0b..6508bd96cd 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -13,8 +13,8 @@ TOOLCHAIN_TARGET_TASK ?= "task-core-standalone-sdk-target task-core-standalone-s
13TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= "" 13TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= ""
14TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" 14TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}"
15 15
16RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" 16SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
17DEPENDS = "virtual/fakeroot-native sed-native" 17SDK_DEPENDS = "virtual/fakeroot-native sed-native"
18 18
19PID = "${@os.getpid()}" 19PID = "${@os.getpid()}"
20 20
@@ -87,5 +87,7 @@ populate_sdk_log_check() {
87} 87}
88 88
89do_populate_sdk[nostamp] = "1" 89do_populate_sdk[nostamp] = "1"
90do_populate_sdk[depends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_DEPENDS', True).split()])}"
91do_populate_sdk[rdepends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_RDEPENDS', True).split()])}"
90do_populate_sdk[recrdeptask] = "do_package_write" 92do_populate_sdk[recrdeptask] = "do_package_write"
91addtask populate_sdk 93addtask populate_sdk