From 4fda1ea35352d7d8acd76eb7d11dddb736966fec Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 20 Mar 2018 11:25:07 -0700 Subject: dev-manual: Updates to the section on creating a layer Provided some key links to help clarify content. (From yocto-docs rev: 8d27b9946dad89729d30497bcc4de26b9a5c87d9) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 26 +++++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index e513c67e04..6bb4275267 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -37,7 +37,7 @@ The Yocto Project ships with tools that speed up creating layers. This section describes the steps you perform by hand to create - a layer so that you can better understand them. + layers so that you can better understand them. For information about the layer-creation tools, see the "Creating a New BSP Layer Using the bitbake-layers Script" section in the Yocto Project Board Support Package (BSP) @@ -95,7 +95,7 @@ The meta-yocto-bsp/conf/layer.conf file in the Yocto Project - Source Repositories + Source Repositories demonstrates the required syntax. For your layer, you need to replace "yoctobsp" with the root name of your layer: @@ -121,16 +121,17 @@ appended to BBPATH. - All non-distro layers, which include all BSP - layers, are expected to append the layer - directory to BBPATH. + All non-distro layers are expected to + append the layer directory to + BBPATH. On the other hand, distro layers, such as meta-poky, can choose to enforce their own precedence over BBPATH. For an example of that syntax, see the meta-poky/conf/layer.conf - file for in the Source Repositories. + file for in the + Source Repositories. @@ -140,7 +141,7 @@ The BBFILE_COLLECTIONS - variable is then appended with the layer name, + variable is appended with the layer name, which is "yoctobsp" in this example. @@ -159,7 +160,7 @@ The BBFILE_PRIORITY - variable then assigns a priority to the layer. + variable assigns a priority to the layer. Applying priorities is useful in situations where the same recipe might appear in multiple layers. @@ -206,9 +207,12 @@ you need in recipes-* subdirectories within the layer. - In order to be compliant with the Yocto Project, - a layer must contain a - README file. + For an explanation of layer hierarchy that + is compliant with the Yocto Project, see + the + "Example Filesystem Layout" + section in the Yocto Project Board + Support Package (BSP) Developer's Guide. -- cgit v1.2.3-54-g00ecf