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_compilemodule_do_install- From module-base
do_make_scripts
- From kernel-module-split
pkg_postinst_modulespkg_postrm_modulesautoload_postinst_fragmentdo_install_appendsplit_kernel_module_packages
When writing a kernel module recipe, you have to inherit from this class using:
inherit module