summaryrefslogtreecommitdiffstats
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:22:36 -0800
commitd01dadfb87cfd2284b3e849d35a35fe5df0239c4 (patch)
tree10d3685054f38592b0c1a39452c0e65bc47b945b /meta/classes/toolchain-scripts.bbclass
parenta439d32dd843d10a9f65cc858b02422fac7deb50 (diff)
downloadpoky-d01dadfb87cfd2284b3e849d35a35fe5df0239c4.tar.gz
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 () {
143toolchain_create_sdk_version[vardepsexclude] = "DATETIME" 143toolchain_create_sdk_version[vardepsexclude] = "DATETIME"
144 144
145python __anonymous () { 145python __anonymous () {
146 deps = d.getVarFlag('do_configure', 'depends') or "" 146 deps = ""
147 for dep in (d.getVar('TOOLCHAIN_NEED_CONFIGSITE_CACHE', True) or "").split(): 147 for dep in (d.getVar('TOOLCHAIN_NEED_CONFIGSITE_CACHE', True) or "").split():
148 deps += " %s:do_populate_sysroot" % dep 148 deps += " %s:do_populate_sysroot" % dep
149 if d.getVar('TCLIBC', True) is "uclibc": 149 if d.getVar('TCLIBC', True) is "uclibc":
150 deps += "uclibc:do_populate_sysroot" 150 deps += "uclibc:do_populate_sysroot"
151 d.setVarFlag('do_configure', 'depends', deps) 151 d.appendVarFlag('do_configure', 'depends', deps)
152} 152}