diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-01 23:02:27 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-01 23:02:27 +0000 |
commit | 0ea0986a59975530923625bc52565c51ad5ef071 (patch) | |
tree | df8db7d044ba0c22de8d2f766598ad77c66c505c /meta/classes/module.bbclass | |
parent | f19cf866982d04bbde0a007fca07ed5db66e3898 (diff) | |
download | poky-0ea0986a59975530923625bc52565c51ad5ef071.tar.gz |
module.bbclass: PARALLEL_INSTALL_MODULES is dead code
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2639 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/module.bbclass')
-rw-r--r-- | meta/classes/module.bbclass | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index f55b89c4da..7083076b5f 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass | |||
@@ -3,23 +3,6 @@ DEPENDS += "virtual/kernel" | |||
3 | 3 | ||
4 | inherit module-base | 4 | inherit module-base |
5 | 5 | ||
6 | python populate_packages_prepend() { | ||
7 | v = bb.data.getVar("PARALLEL_INSTALL_MODULES", d, 1) or "0" | ||
8 | if v == "1": | ||
9 | kv = bb.data.getVar("KERNEL_VERSION", d, 1) | ||
10 | packages = bb.data.getVar("PACKAGES", d, 1) | ||
11 | for p in packages.split(): | ||
12 | pkg = bb.data.getVar("PKG_%s" % p, d, 1) or p | ||
13 | newpkg = "%s-%s" % (pkg, kv) | ||
14 | bb.data.setVar("PKG_%s" % p, newpkg, d) | ||
15 | rprovides = bb.data.getVar("RPROVIDES_%s" % p, d, 1) | ||
16 | if rprovides: | ||
17 | rprovides = "%s %s" % (rprovides, pkg) | ||
18 | else: | ||
19 | rprovides = pkg | ||
20 | bb.data.setVar("RPROVIDES_%s" % p, rprovides, d) | ||
21 | } | ||
22 | |||
23 | module_do_compile() { | 6 | module_do_compile() { |
24 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | 7 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS |
25 | oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \ | 8 | oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \ |