kernel: extract functions for kernel modules to separate bbclass
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 2 Mar 2013 17:06:56 +0000 (18:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Mar 2013 13:14:50 +0000 (13:14 +0000)
commit5e6e5f6b9cd5814d94bedbcb82f987ee9861115e
tree000d55ae84baa0c3330eb87f5137997e57042fac
parent205ea9c8fc53f79e7382fca4b06300628022afc4
kernel: extract functions for kernel modules to separate bbclass

* this way we can reuse the same functionality also for external modules
  including module_autoload_foo and module_conf_foo functionality
* MODULE_PACKAGES variable was removed (splited modules are now returned
  by do_split_packages
* KERNEL_MODULES_META_PACKAGE is used to append all splitted packages
  to RDEPENDS. In kernel.bbclass it's old "kernel-modules" in
  module.bbclass it defaults to ${PN} for upgrade path from
  single PN with all modules to PN depending on all new kernel-module-*

(From OE-Core rev: 51928b6b5ca0a46a9dcd754483a19af58b95fa18)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-module-split.bbclass [new file with mode: 0644]
meta/classes/kernel.bbclass
meta/classes/module.bbclass