diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-03 10:41:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-05 10:22:36 -0800 |
commit | d01dadfb87cfd2284b3e849d35a35fe5df0239c4 (patch) | |
tree | 10d3685054f38592b0c1a39452c0e65bc47b945b /meta/classes/toolchain-scripts.bbclass | |
parent | a439d32dd843d10a9f65cc858b02422fac7deb50 (diff) | |
download | poky-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.bbclass | 4 |
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 () { | |||
143 | toolchain_create_sdk_version[vardepsexclude] = "DATETIME" | 143 | toolchain_create_sdk_version[vardepsexclude] = "DATETIME" |
144 | 144 | ||
145 | python __anonymous () { | 145 | python __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 | } |