summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-10-09 21:24:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-20 19:07:51 +0100
commite3d0d9897e45219c3964165666f0ceebff580678 (patch)
treeadf8604636cc5e6e85cc01799e48697ef9763331 /meta/classes/package.bbclass
parent2a05bd9be0cb3961f394035bf0f4561283248a83 (diff)
downloadpoky-e3d0d9897e45219c3964165666f0ceebff580678.tar.gz
Move packagedata code into oe.packagedata (sync from OE)
(From OE-Core rev: e6858627ab087f2f25ebbd6c4422eeae35f3b0ac) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 4eb349d431..2c6d30ccd8 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -295,7 +295,9 @@ def runstrip(file, elftype, d):
295# 295#
296 296
297def get_package_mapping (pkg, d): 297def get_package_mapping (pkg, d):
298 data = read_subpkgdata(pkg, d) 298 import oe.packagedata
299
300 data = oe.packagedata.read_subpkgdata(pkg, d)
299 key = "PKG_%s" % pkg 301 key = "PKG_%s" % pkg
300 302
301 if key in data: 303 if key in data: