diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-04-15 13:37:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-17 22:34:13 +0100 |
commit | 1c597ac036d3a548f41a0f788ec225722d702d0a (patch) | |
tree | 4761dcac85813a60f7eda7f1ddd084c1b9b7d17f /documentation/dev-manual/dev-manual-common-tasks.xml | |
parent | b1ee347c26441ffae0a119901e6876920e17e07d (diff) | |
download | poky-1c597ac036d3a548f41a0f788ec225722d702d0a.tar.gz |
dev-manual, bsp-guide: Scrubbed the yocto-layer usage section.
Added a note in the bsp-guide to point back to the main
new section, which is in the dev-manual.
Made some small edits to the main section in the dev-manual.
(From yocto-docs rev: 4105c8edbdc531b2a941d7f7282325fae763f059)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 7e8369c977..bca869aa2d 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -623,7 +623,7 @@ | |||
623 | </para> | 623 | </para> |
624 | 624 | ||
625 | <para> | 625 | <para> |
626 | You use the <filename>yocto-layer create</filename> sub-command | 626 | Use the <filename>yocto-layer create</filename> sub-command |
627 | to create a new general layer. | 627 | to create a new general layer. |
628 | In its simplest form, you can create a layer as follows: | 628 | In its simplest form, you can create a layer as follows: |
629 | <literallayout class='monospaced'> | 629 | <literallayout class='monospaced'> |
@@ -636,18 +636,17 @@ | |||
636 | <para> | 636 | <para> |
637 | As the <filename>yocto-layer create</filename> command runs, | 637 | As the <filename>yocto-layer create</filename> command runs, |
638 | default values for the prompts appear in brackets. | 638 | default values for the prompts appear in brackets. |
639 | Pressing enter without supplying anything on the command line | 639 | Pressing enter without supplying anything for the prompts |
640 | or pressing enter and providing an invalid response causes the | 640 | or pressing enter and providing an invalid response causes the |
641 | script to accept the default value. | 641 | script to accept the default value. |
642 | Once the script completes, the new layer | 642 | Once the script completes, the new layer |
643 | is created in the current working directory. | 643 | is created in the current working directory. |
644 | The script names the layer according to the string you provide | 644 | The script names the layer by prepending |
645 | and the prepended <filename>meta-</filename> string. | 645 | <filename>meta-</filename> to the name you provide. |
646 | </para> | 646 | </para> |
647 | 647 | ||
648 | <para> | 648 | <para> |
649 | If you choose to not generate a sample recipe or append file, | 649 | Minimally, the script creates the following within the layer: |
650 | the script creates the following within the layer: | ||
651 | <itemizedlist> | 650 | <itemizedlist> |
652 | <listitem><para><emphasis>The <filename>conf</filename> | 651 | <listitem><para><emphasis>The <filename>conf</filename> |
653 | directory:</emphasis> | 652 | directory:</emphasis> |
@@ -674,7 +673,7 @@ | |||
674 | in a directory named <filename>recipes-example</filename>. | 673 | in a directory named <filename>recipes-example</filename>. |
675 | The script creates a <filename>.bb</filename> file and a | 674 | The script creates a <filename>.bb</filename> file and a |
676 | directory, which contains a sample | 675 | directory, which contains a sample |
677 | <filename>helloworld.c</filename>source file and along with | 676 | <filename>helloworld.c</filename> source file and along with |
678 | a sample patch file. | 677 | a sample patch file. |
679 | If you do not provide a recipe name, the script uses | 678 | If you do not provide a recipe name, the script uses |
680 | "example". | 679 | "example". |
@@ -721,7 +720,7 @@ | |||
721 | " | 720 | " |
722 | </literallayout> | 721 | </literallayout> |
723 | Adding the layer to this file enables the build system to | 722 | Adding the layer to this file enables the build system to |
724 | the layer during the build. | 723 | locate the layer during the build. |
725 | </para> | 724 | </para> |
726 | </section> | 725 | </section> |
727 | </section> | 726 | </section> |