diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-05-17 14:03:04 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-17 20:07:48 +0100 |
commit | 189fa6b9bf51a2fb298bae89b6dbc41f76d82001 (patch) | |
tree | d1afea46eae6ff3b81c188eac504b71e0e25b980 | |
parent | aff8c579f6d1f1b5f03811a2186c6e775e800e31 (diff) | |
download | poky-189fa6b9bf51a2fb298bae89b6dbc41f76d82001.tar.gz |
documentation/bsp-guide/bsp.xml: Updated Example Filesystem Layout
Added more explanation about the base directory (meta-<bsp_name>) to the
Example Filesystem Layout section. These changes were suggested by
Tom Zanussi to help users understand better how to add BSP layers
to the build system.
(From yocto-docs rev: ced445910363b2f10b5b5ca72236f54ae4b7e050)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/bsp-guide/bsp.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 81f347bb6a..5ff80da773 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml | |||
@@ -60,6 +60,9 @@ | |||
60 | <literallayout class='monospaced'> | 60 | <literallayout class='monospaced'> |
61 | meta-<bsp_name> | 61 | meta-<bsp_name> |
62 | </literallayout> | 62 | </literallayout> |
63 | </para> | ||
64 | |||
65 | <para> | ||
63 | "bsp_name" is a placeholder for the machine or platform name. | 66 | "bsp_name" is a placeholder for the machine or platform name. |
64 | Here are some example base directory names: | 67 | Here are some example base directory names: |
65 | <literallayout class='monospaced'> | 68 | <literallayout class='monospaced'> |
@@ -70,6 +73,23 @@ | |||
70 | </para> | 73 | </para> |
71 | 74 | ||
72 | <para> | 75 | <para> |
76 | The base directory (<filename>meta-<bsp_name></filename>) is the root of the BSP layer. | ||
77 | This root is what you add to the BBLAYERS variable in <filename>build/conf/bblayers.conf</filename> | ||
78 | so that the build system recognizes the BSP definition and from it can build an image. | ||
79 | Here is an example: | ||
80 | <literallayout class='monospaced'> | ||
81 | BBLAYERS = " \ | ||
82 | /usr/local/src/yocto/meta \ | ||
83 | /usr/local/src/yocto/meta-yocto \ | ||
84 | /usr/local/src/yocto/meta-<bsp_name> \ | ||
85 | " | ||
86 | </literallayout> | ||
87 | For more detailed information on layers, see the | ||
88 | <ulink url='http://www.yoctoproject.org/docs/poky-ref-manual/poky-ref-manual.html#usingpoky-changes-layers'> | ||
89 | BitBake Layers</ulink> section of the Poky Reference Manual. | ||
90 | </para> | ||
91 | |||
92 | <para> | ||
73 | Below is the common form for the file structure inside a base directory. | 93 | Below is the common form for the file structure inside a base directory. |
74 | While you can use this basic form for the standard, realize that the actual structures | 94 | While you can use this basic form for the standard, realize that the actual structures |
75 | for specific BSPs could differ. | 95 | for specific BSPs could differ. |