From 2a3cd732ce7efea9f372862be7ef70ff5ecb50d9 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Tue, 29 Nov 2016 11:48:17 -0500 Subject: 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 Signed-off-by: Otavio Salvador --- recipes-core/icedtea/icedtea7-native.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core/icedtea/icedtea7-native.inc') 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() { def jdk_arch(d): import bb - target_arch = bb.data.getVar('TRANSLATED_TARGET_ARCH', d, 1) + target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) if target_arch in ['i386', 'i486', 'i586', 'i686']: return "x86" -- cgit v1.2.3-54-g00ecf