737 B
737 B
Classes
Classes provides functions and tools that can be used in recipes. To use a class, you must make the recipe inherit from the class.
Classes files have the .bbclass
extension
Example: module class
See: $POKY/meta/classes/module.bbclass
This class provides functions to build and install kernel modules
It defines these functions
module_do_compile
module_do_install
- From module-base
do_make_scripts
- From kernel-module-split
pkg_postinst_modules
pkg_postrm_modules
autoload_postinst_fragment
do_install_append
split_kernel_module_packages
When writing a kernel module recipe, you have to inherit from this class using:
inherit module