[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3359/8267] binconfig: Use d.getVar
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3359/8267] binconfig: Use d.getVar
- Date: Sun, 17 Dec 2017 00:31:21 +0000 (UTC)
commit 3ef7cf5297804a22ab01a8eaaacfbab12fddb9d8
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Wed Nov 16 11:18:00 2016 +0000
binconfig: Use d.getVar
The bb.data API is deprecated, use d.getVar instead.
(From OE-Core rev: 3246319233fd111d42e0a2c2b0d6983a604d5b81)
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/classes/binconfig.bbclass | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index cbc4173..8591308 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]