git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43bbefe
)
respect PARALLEL_INSTALL_MODULES when calculating RDEPENDS
author
Phil Blundell
<philb@gnu.org>
Tue, 28 Jun 2005 12:33:35 +0000
(12:33 +0000)
committer
Phil Blundell
<philb@gnu.org>
Tue, 28 Jun 2005 12:33:35 +0000
(12:33 +0000)
BKrev: 42c1439fy5zZE1s-8d5wRPHtn_Hhwg
classes/kernel.bbclass
patch
|
blob
|
history
diff --git
a/classes/kernel.bbclass
b/classes/kernel.bbclass
index
599a117
..
598380b
100644
(file)
--- a/
classes/kernel.bbclass
+++ b/
classes/kernel.bbclass
@@
-277,7
+277,12
@@
python populate_packages_prepend () {
if not m:
continue
on = legitimize_package_name(m.group(1))
- dependencies.append(format % on)
+ dependency_pkg = format % on
+ v = bb.data.getVar("PARALLEL_INSTALL_MODULES", d, 1) or "0"
+ if v == "1":
+ kv = bb.data.getVar("KERNEL_MAJOR_VERSION", d, 1)
+ dependency_pkg = "%s-%s" % (dependency_pkg, kv)
+ dependencies.append(dependency_pkg)
return dependencies
return []