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 --- classes/java-library.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/java-library.bbclass') diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass index 144cd2f..58d5a40 100644 --- a/classes/java-library.bbclass +++ b/classes/java-library.bbclass @@ -23,8 +23,8 @@ def java_package_name(d): pre="" post="" - bpn = bb.data.getVar('BPN', d, 1) - ml = bb.data.getVar('MLPREFIX', d, 1) + bpn = d.getVar('BPN', True) + ml = d.getVar('MLPREFIX', True) if not bpn.startswith("lib"): pre='lib' -- cgit v1.2.3-54-g00ecf