diff options
author | Phil Blundell <philb@gnu.org> | 2005-06-28 12:33:35 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2005-06-28 12:33:35 +0000 |
commit | d2d99bad03ef2cab1a3584adcef8d1d5709fc45a (patch) | |
tree | b28ed755392e2e8c065093c3682a7248547867c1 | |
parent | 43bbefe53d2e8f4809fe234c2e34c9831c7229eb (diff) |
respect PARALLEL_INSTALL_MODULES when calculating RDEPENDS
BKrev: 42c1439fy5zZE1s-8d5wRPHtn_Hhwg
-rw-r--r-- | classes/kernel.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 599a1171c0..598380be36 100644 --- 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 [] |