aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/eclipse/html/poky-ref-manual/structure-meta-classes.html
blob: 34cc0ffe323b4f8d383542200a73b0a8a1db269d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>5.3.1.�meta/classes/</title>
<link rel="stylesheet" type="text/css" href="../book.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="The Yocto Project Reference Manual">
<link rel="up" href="structure-meta.html" title="5.3.�The Metadata - meta/">
<link rel="prev" href="structure-meta.html" title="5.3.�The Metadata - meta/">
<link rel="next" href="structure-meta-conf.html" title="5.3.2.�meta/conf/">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="5.3.1.�meta/classes/">
<div class="titlepage"><div><div><h3 class="title">
<a name="structure-meta-classes"></a>5.3.1.�<code class="filename">meta/classes/</code>
</h3></div></div></div>
<p>
            This directory contains the <code class="filename">*.bbclass</code> files. 
            Class files are used to abstract common code so it can be reused by multiple 
            packages. 
            Every package inherits the <code class="filename">base.bbclass</code> file.
            Examples of other important classes are <code class="filename">autotools.bbclass</code>, which 
            in theory allows any Autotool-enabled package to work with the Yocto Project with minimal effort.
            Another example is <code class="filename">kernel.bbclass</code> that contains common code and functions 
            for working with the Linux kernel. 
            Functions like image generation or packaging also have their specific class files 
            such as <code class="filename">image.bbclass</code>, <code class="filename">rootfs_*.bbclass</code> and 
            <code class="filename">package*.bbclass</code>.
        </p>
</div></body>
</html>