aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/packagedata.bbclass
blob: 60f1aded0d19977163113a763e7dae7c1752ead1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
python read_subpackage_metadata () {
	import oe.packagedata

	data = oe.packagedata.read_pkgdata(d.getVar('PN', True), d)

	for key in data.keys():
		d.setVar(key, data[key])

	for pkg in d.getVar('PACKAGES', True).split():
		sdata = oe.packagedata.read_subpkgdata(pkg, d)
		for key in sdata.keys():
			d.setVar(key, sdata[key])
}