diff options
| -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. |
