From e6858627ab087f2f25ebbd6c4422eeae35f3b0ac Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 9 Oct 2010 21:24:38 -0700 Subject: Move packagedata code into oe.packagedata (sync from OE) Signed-off-by: Chris Larson --- meta/classes/package.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/classes/package.bbclass') diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 4eb349d43..2c6d30ccd 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -295,7 +295,9 @@ def runstrip(file, elftype, d): # def get_package_mapping (pkg, d): - data = read_subpkgdata(pkg, d) + import oe.packagedata + + data = oe.packagedata.read_subpkgdata(pkg, d) key = "PKG_%s" % pkg if key in data: -- cgit v1.2.3