summaryrefslogtreecommitdiffstats
path: root/documentation/getting-started/eclipse/html/getting-started/distro-layer.html
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/getting-started/eclipse/html/getting-started/distro-layer.html')
-rw-r--r--documentation/getting-started/eclipse/html/getting-started/distro-layer.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/documentation/getting-started/eclipse/html/getting-started/distro-layer.html b/documentation/getting-started/eclipse/html/getting-started/distro-layer.html
new file mode 100644
index 0000000000..da6da55986
--- /dev/null
+++ b/documentation/getting-started/eclipse/html/getting-started/distro-layer.html
@@ -0,0 +1,60 @@
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title>2.8.2.1. Distro Layer</title>
5<link rel="stylesheet" type="text/css" href="../book.css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7<link rel="home" href="index.html" title="Getting Started With Yocto Project">
8<link rel="up" href="metadata-machine-configuration-and-policy-configuration.html" title="2.8.2. Metadata, Machine Configuration, and Policy Configuration">
9<link rel="prev" href="metadata-machine-configuration-and-policy-configuration.html" title="2.8.2. Metadata, Machine Configuration, and Policy Configuration">
10<link rel="next" href="bsp-layer.html" title="2.8.2.2. BSP Layer">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="2.8.2.1. Distro Layer">
13<div class="titlepage"><div><div><h4 class="title">
14<a name="distro-layer"></a>2.8.2.1. Distro Layer</h4></div></div></div>
15<p>
16 The distribution layer provides policy configurations for your
17 distribution.
18 Best practices dictate that you isolate these types of
19 configurations into their own layer.
20 Settings you provide in
21 <code class="filename">conf/distro/<em class="replaceable"><code>distro</code></em>.conf</code> override
22 similar
23 settings that BitBake finds in your
24 <code class="filename">conf/local.conf</code> file in the Build
25 Directory.
26 </p>
27<p>
28 The following list provides some explanation and references
29 for what you typically find in the distribution layer:
30 </p>
31<div class="itemizedlist"><ul class="itemizedlist" type="disc">
32<li class="listitem"><p><span class="emphasis"><em>classes:</em></span>
33 Class files (<code class="filename">.bbclass</code>) hold
34 common functionality that can be shared among
35 recipes in the distribution.
36 When your recipes inherit a class, they take on the
37 settings and functions for that class.
38 You can read more about class files in the
39 "<a class="link" href="../ref-manual/ref-classes.html" target="_self">Classes</a>"
40 section of the Yocto Reference Manual.
41 </p></li>
42<li class="listitem"><p><span class="emphasis"><em>conf:</em></span>
43 This area holds configuration files for the
44 layer (<code class="filename">conf/layer.conf</code>),
45 the distribution
46 (<code class="filename">conf/distro/<em class="replaceable"><code>distro</code></em>.conf</code>),
47 and any distribution-wide include files.
48 </p></li>
49<li class="listitem"><p><span class="emphasis"><em>recipes-*:</em></span>
50 Recipes and append files that affect common
51 functionality across the distribution.
52 This area could include recipes and append files
53 to add distribution-specific configuration,
54 initialization scripts, custom image recipes,
55 and so forth.</p></li>
56</ul></div>
57<p>
58 </p>
59</div></body>
60</html>