summaryrefslogtreecommitdiff
path: root/meta/classes/binconfig.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-16 11:18:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-16 11:37:30 +0000
commit3246319233fd111d42e0a2c2b0d6983a604d5b81 (patch)
tree28b514995e14815d1bed0fba5d3a2e544b52e0c2 /meta/classes/binconfig.bbclass
parenta675b2c89e477af088faee9b3be96eae19a85f0b (diff)
downloadopenembedded-core-3246319233fd111d42e0a2c2b0d6983a604d5b81.tar.gz
openembedded-core-3246319233fd111d42e0a2c2b0d6983a604d5b81.tar.bz2
openembedded-core-3246319233fd111d42e0a2c2b0d6983a604d5b81.zip
binconfig: Use d.getVar
The bb.data API is deprecated, use d.getVar instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/binconfig.bbclass')
-rw-r--r--meta/classes/binconfig.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index cbc4173601..8591308aa7 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -21,8 +21,8 @@ def get_binconfig_mangle(d):
s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${exec_prefix}:'"
s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
- if bb.data.getVar("OE_BINCONFIG_EXTRA_MANGLE", d):
- s += bb.data.getVar("OE_BINCONFIG_EXTRA_MANGLE", d)
+ if d.getVar("OE_BINCONFIG_EXTRA_MANGLE", False):
+ s += d.getVar("OE_BINCONFIG_EXTRA_MANGLE", True)
return s