diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 76b533e9b4..e61ea019e4 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -1161,6 +1161,15 @@ by the Yocto Project, as well as QEMU versions of the same. The default mode of the script's operation is to prompt you for information needed to generate the BSP layer. + + For information on creating a general layer that is not BSP-specific, + see the + "Creating a General Layer Using the yocto-layer Script" + in the Yocto Project Development Manual. + + + + For the current set of BSPs, the script prompts you for various important parameters such as: 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 @@ - You use the yocto-layer create sub-command + Use the yocto-layer create sub-command to create a new general layer. In its simplest form, you can create a layer as follows: @@ -636,18 +636,17 @@ As the yocto-layer create command runs, default values for the prompts appear in brackets. - Pressing enter without supplying anything on the command line + Pressing enter without supplying anything for the prompts or pressing enter and providing an invalid response causes the script to accept the default value. Once the script completes, the new layer is created in the current working directory. - The script names the layer according to the string you provide - and the prepended meta- string. + The script names the layer by prepending + meta- to the name you provide. - If you choose to not generate a sample recipe or append file, - the script creates the following within the layer: + Minimally, the script creates the following within the layer: The conf directory: @@ -674,7 +673,7 @@ in a directory named recipes-example. The script creates a .bb file and a directory, which contains a sample - helloworld.csource file and along with + helloworld.c source file and along with a sample patch file. If you do not provide a recipe name, the script uses "example". @@ -721,7 +720,7 @@ " Adding the layer to this file enables the build system to - the layer during the build. + locate the layer during the build.