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-12-20 22:35:16 +0000 |
| commit | b154d10232e2e79169f70bd069ead59064b130af (patch) | |
| tree | a102ac6d5f588647d0c2c9bcf8b4e6038913722c /documentation | |
| parent | 00af854e96bf1bf5ab51fa6b41198b285a006d35 (diff) | |
| download | poky-b154d10232e2e79169f70bd069ead59064b130af.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: 66b05e2b3096539b746f1b597ea8f542bba6be3f)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
| -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 ad20818c43..0c9c9437f6 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. |
