Table of Contents
base.bbclass
autotools.bbclass
update-alternatives.bbclass
update-rc.d.bbclass
binconfig.bbclass
debian.bbclass
pkgconfig.bbclass
archive*.bbclass
cpan.bbclass
distutils.bbclass
devshell.bbclass
packagegroup.bbclass
package*.bbclass
kernel.bbclass
image.bbclass
and rootfs*.bbclass
sanity.bbclass
insane.bbclass
rm_work.bbclass
siteinfo.bbclass
useradd.bbclass
externalsrc.bbclass
testimage.bbclass
Class files are used to abstract common functionality and share it amongst multiple
.bb
files.
Any Metadata usually
found in a .bb
file can also be placed in a class
file.
Class files are identified by the extension .bbclass
and are usually placed
in a classes/
directory beneath the
meta*/
directory found in the
Source Directory.
Class files can also be pointed to by
BUILDDIR
(e.g. build/
) in the same way as
.conf
files in the conf
directory.
Class files are searched for in BBPATH
using the same method by which .conf
files are searched.
In most cases inheriting the class is enough to enable its features, although for some classes you might need to set variables or override some of the default behavior.
This chapter discusses only the most useful and important classes.
Other classes do exist within the meta/classes
directory in the
Source Directory.
You can reference the .bbclass
files directly
for more information.