Features are complex kernel Metadata types that consist of configuration fragments, patches, and possibly other feature description files. As an example, consider the following generic listing:
features/myfeature
.scc define KFEATURE_DESCRIPTION "Enablemyfeature
" patch 0001-myfeature
-core.patch patch 0002-myfeature
-interface.patch include cfg/myfeature
_dependency.scc kconf non-hardwaremyfeature
.cfg
This example shows how the patch
and
kconf
commands are used as well as
how an additional feature description file is included with
the include
command.
Typically, features are less granular than configuration
fragments and are more likely than configuration fragments
and patches to be the types of things you want to specify
in the KERNEL_FEATURES
variable of the
Linux kernel recipe.
See the "Using Kernel Metadata in a Recipe"
section earlier in the manual.