diff options
author | Cody P Schafer <dev@codyps.com> | 2016-11-29 11:48:17 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-12-06 16:25:08 -0200 |
commit | 2a3cd732ce7efea9f372862be7ef70ff5ecb50d9 (patch) | |
tree | 6fd21a770c2aab45a08a38c3167636e465cd401d /recipes-core/icedtea/icedtea7-native.inc | |
parent | a70bf4a9e3e1c03ff1cc2d0db228a383943c54db (diff) | |
download | meta-java-2a3cd732ce7efea9f372862be7ef70ff5ecb50d9.tar.gz |
move from bb.data.getVar(x, d, 1) to d.getVar(x, True)
bb.data.getVar was removed, need to use the modern mechanism.
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/icedtea/icedtea7-native.inc')
-rw-r--r-- | recipes-core/icedtea/icedtea7-native.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc index 727998c..a8428dc 100644 --- a/recipes-core/icedtea/icedtea7-native.inc +++ b/recipes-core/icedtea/icedtea7-native.inc | |||
@@ -211,7 +211,7 @@ do_compile() { | |||
211 | def jdk_arch(d): | 211 | def jdk_arch(d): |
212 | import bb | 212 | import bb |
213 | 213 | ||
214 | target_arch = bb.data.getVar('TRANSLATED_TARGET_ARCH', d, 1) | 214 | target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) |
215 | 215 | ||
216 | if target_arch in ['i386', 'i486', 'i586', 'i686']: | 216 | if target_arch in ['i386', 'i486', 'i586', 'i686']: |
217 | return "x86" | 217 | return "x86" |