aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-06-13 01:27:08 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-06-13 01:27:08 +0000
commit4dd434bb1cd1c97dd87b96422823affe65817dcb (patch)
tree99e0b498ad4f7cf792e35bbe7741dfd230686eb1
parentb454cacc26f988f41bfbf450e5c55d764e69165c (diff)
downloadopenembedded-4dd434bb1cd1c97dd87b96422823affe65817dcb.tar.gz
usermanual/usage: Add some details on what configuration files exist in OE.
-rw-r--r--usermanual/chapters/usage.xml63
1 files changed, 62 insertions, 1 deletions
diff --git a/usermanual/chapters/usage.xml b/usermanual/chapters/usage.xml
index 4c58fc700a..9c253b3b72 100644
--- a/usermanual/chapters/usage.xml
+++ b/usermanual/chapters/usage.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="chapter_using_bitbake_and_oe">
- <title>Using bitbake and OE</title>
+ <title>Using bitbake and OpenEmbedded</title>
<section id="usage_introduction" xreflabel="introduction">
<title>Introduction</title>
@@ -129,6 +129,67 @@
these variables.</para>
</section>
+ <section>
+ <title>Configuration</title>
+
+ <para>Configuration covers basic items such as where the various files can
+ be found and where output should be placed to more specific items such as
+ which hardware is being targeted and what features you want to have
+ included in the final image. The main configuration areas in OE
+ are:</para>
+
+ <variablelist>
+ <varlistentry>
+ <term>conf/machine</term>
+
+ <listitem>
+ <para>This directory contains machine configuration information. For
+ each physical device a configuration file is required in this
+ directory that describes various aspects of the device, such as
+ architecture of the device, hardware features of the device (does it
+ have usb? a keyboard? etc), the type of flash or disk images needed
+ for the device, the serial console settings (if any) etc. If you are
+ adding support for a new device you would need to create a machine
+ configuration in this directory for the device.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>conf/distro</term>
+
+ <listitem>
+ <para>This directory contains distribution related files. A
+ distribution decides how various activities are handled in the final
+ image, such as how networking configured, if usb devices will be
+ supported, what packaging system is used, which libc is used
+ etc.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>conf/bitbake.conf</term>
+
+ <listitem>
+ <para>This is the main bitbake configuration file. This file is not
+ to be edited but it is useful to look at it since it declares a
+ larger number of the predefined variables used by OE and controls a
+ lot of the base functionality provided by OE.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>conf/local.conf</term>
+
+ <listitem>
+ <para>This is the end-user specific configuration. This file needs
+ to be copied and edited and is used to specify the various working
+ directories, the machine to build for and the distribution to
+ use.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </section>
+
<section id="usage_workspace" xreflabel="workspace">
<title>Work space</title>