diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 24feb94b79..6179883c48 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml @@ -488,17 +488,20 @@ To better understand the layer you create for kernel development, the following section describes how to create a layer - without the aid of tools: + without the aid of tools. + These steps assume creation of a layer named + mylayer in your home directory: - Create additional structure: - Create the additional layer structure: + Create Structure: + Create the layer's structure: - $ cd ~/poky/meta-mylayer - $ mkdir conf - $ mkdir recipes-kernel - $ mkdir recipes-kernel/linux - $ mkdir recipes-kernel/linux/linux-yocto + $ cd $HOME + $ mkdir meta-mylayer + $ mkdir meta-mylayer/conf + $ mkdir meta-mylayer/recipes-kernel + $ mkdir meta-mylayer/recipes-kernel/linux + $ mkdir meta-mylayer/recipes-kernel/linux/linux-yocto The conf directory holds your configuration files, while the @@ -506,7 +509,7 @@ append file and eventual patch files. - Create the layer configuration file: + Create the Layer Configuration File: Move to the meta-mylayer/conf directory and create the layer.conf file as follows: @@ -526,7 +529,7 @@ three statements. - Create the kernel recipe append file: + Create the Kernel Recipe Append File: Move to the meta-mylayer/recipes-kernel/linux directory and create the kernel's append file. @@ -537,9 +540,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - SRC_URI += "file://patch-file-one" - SRC_URI += "file://patch-file-two" - SRC_URI += "file://patch-file-three" + SRC_URI_append += "file://patch-file-one" + SRC_URI_append += "file://patch-file-two" + SRC_URI_append += "file://patch-file-three" The FILESEXTRAPATHS