linux-omap 2.6.39: sync with meta-texasinstruments again
[openembedded.git] / classes / packagedata.bbclass
blobbf051feea80c89f08420a541a5706d1d39ea84b8
1 python read_subpackage_metadata () {
2         import oe.packagedata
4         data = oe.packagedata.read_pkgdata(bb.data.getVar('PN', d, 1), d)
6         for key in data.keys():
7                 bb.data.setVar(key, data[key], d)
9         for pkg in bb.data.getVar('PACKAGES', d, 1).split():
10                 sdata = oe.packagedata.read_subpkgdata(pkg, d)
11                 for key in sdata.keys():
12                         bb.data.setVar(key, sdata[key], d)