]> code.ossystems Code Review - openembedded-core.git/commit
kernel-module-split.bbclass: add a prefix for module package name pattern
authorRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Fri, 24 Jun 2016 23:42:28 +0000 (16:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Jul 2016 15:08:47 +0000 (16:08 +0100)
commit4f941e8c5ee8e95291c3beff0a2798aa13f8dfc8
tree2a395810b9b4d08a1dc1bbd73d7c4656b35fa27f
parentf6f531e7795dceefa8a42246cb9ed4efbffca2dd
kernel-module-split.bbclass: add a prefix for module package name pattern

When splitting kernel modules into individual packages, such packages take
their names from the module name. This is OK under most of the circumstances.
However, it may lead to package naming collisions if there exists two
modules with the same name.

Situations like this can occur when building testing modules. For instance,
there exists testing versions of the modules for non-volatile memory that
are built with different linker options but bear the same module name. If
one wants to package such modules, it is be good to be able to name
packages differently. This can be done by prefixing the package name with
a KERNEL_MODULE_PACKAGE_PREFIX that can be set by the recipes that inherit
from module.bbclass.

Cc: Megha Dey <megha.dey@intel.com>
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-module-split.bbclass