diff options
Diffstat (limited to 'meta')
-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} \ |