diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-06-25 12:45:50 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-03 14:54:58 +0100 |
commit | 66d3d3b2289f45f07b3ce407f2c299ca36dc6788 (patch) | |
tree | 12219a74aef91f74123043e7dde0b1e86b17f83d /meta/classes/populate_sdk_base.bbclass | |
parent | 41550ca5dec0e23f20f24a8dce48dc927fcbfb59 (diff) | |
download | poky-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.bbclass | 6 |
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 | |||
13 | TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= "" | 13 | TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= "" |
14 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" | 14 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" |
15 | 15 | ||
16 | RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" | 16 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" |
17 | DEPENDS = "virtual/fakeroot-native sed-native" | 17 | SDK_DEPENDS = "virtual/fakeroot-native sed-native" |
18 | 18 | ||
19 | PID = "${@os.getpid()}" | 19 | PID = "${@os.getpid()}" |
20 | 20 | ||
@@ -87,5 +87,7 @@ populate_sdk_log_check() { | |||
87 | } | 87 | } |
88 | 88 | ||
89 | do_populate_sdk[nostamp] = "1" | 89 | do_populate_sdk[nostamp] = "1" |
90 | do_populate_sdk[depends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_DEPENDS', True).split()])}" | ||
91 | do_populate_sdk[rdepends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_RDEPENDS', True).split()])}" | ||
90 | do_populate_sdk[recrdeptask] = "do_package_write" | 92 | do_populate_sdk[recrdeptask] = "do_package_write" |
91 | addtask populate_sdk | 93 | addtask populate_sdk |