summaryrefslogtreecommitdiff
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-03 10:41:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-05 10:33:18 -0800
commit3b57de68e70e77dbc03c0616a83a29a2e99e40b4 (patch)
tree5a49ced6b0b972994fe537094c1c3b406b33c98f /meta/classes/toolchain-scripts.bbclass
parent906641853e8ac6fd296dfb91f8bb647c7da8e23e (diff)
downloadopenembedded-core-3b57de68e70e77dbc03c0616a83a29a2e99e40b4.tar.gz
openembedded-core-3b57de68e70e77dbc03c0616a83a29a2e99e40b4.tar.bz2
openembedded-core-3b57de68e70e77dbc03c0616a83a29a2e99e40b4.zip
meta/classes: Convert to use appendVar and appendVarFlags
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r--meta/classes/toolchain-scripts.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 6ca85d90ee..711efd39ab 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -143,10 +143,10 @@ toolchain_create_sdk_version () {
toolchain_create_sdk_version[vardepsexclude] = "DATETIME"
python __anonymous () {
- deps = d.getVarFlag('do_configure', 'depends') or ""
+ deps = ""
for dep in (d.getVar('TOOLCHAIN_NEED_CONFIGSITE_CACHE', True) or "").split():
deps += " %s:do_populate_sysroot" % dep
if d.getVar('TCLIBC', True) is "uclibc":
deps += "uclibc:do_populate_sysroot"
- d.setVarFlag('do_configure', 'depends', deps)
+ d.appendVarFlag('do_configure', 'depends', deps)
}