summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-manual
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/kernel-manual')
-rw-r--r--documentation/kernel-manual/kernel-how-to.xml29
1 files changed, 17 insertions, 12 deletions
diff --git a/documentation/kernel-manual/kernel-how-to.xml b/documentation/kernel-manual/kernel-how-to.xml
index 07e4d7828c..c3c9569adf 100644
--- a/documentation/kernel-manual/kernel-how-to.xml
+++ b/documentation/kernel-manual/kernel-how-to.xml
@@ -1088,21 +1088,26 @@ That's it. Configure and build.
1088 </para></listitem> 1088 </para></listitem>
1089 1089
1090 <listitem><para> 1090 <listitem><para>
1091 Point the build at the new kernel git tree. 1091 In a layer, create a <filename>linux-yocto_git.bbappend</filename>
1092 </para> 1092 file with the following:
1093 </para>
1093 1094
1094 <para> 1095 <para>
1095 You can do this by commenting out the SRC_URI variable in
1096 <filename>meta/recipes-kernel/linux/linux-yocto_git.bb</filename> and using a SRC_URI
1097 that points to your new bare git tree.
1098 You should also be able to do this in <filename>linux-yocto_git.bbappend</filename> in the layer:
1099 <literallayout class='monospaced'> 1096 <literallayout class='monospaced'>
1100 # To use a staged, on-disk bare clone of a Wind River Kernel, use a variant of the 1097 COMPATIBLE_MACHINE = ${MACHINE}
1101 # below SRC_URI = "git://///path/to/kernel/default_kernel.git;fullclone=1" 1098
1102 # 1099 # It is often nice to have a local clone of the kernel repository, to
1103 SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine 1100 # allow patches to be staged, branches created, and so forth. Modify
1104\ 1101 # KSRC to point to your local clone as appropriate.
1105 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta" 1102
1103 # KSRC ?= /path/to/your/bare/clone/yocto-kernel
1104
1105 # KMACHINE is the branch to be built, or alternateively
1106 # KBRANCH can be directly set.
1107
1108 # KBRANCH ?= "${KMACHINE}-${LINUX_KERNEL_TYPE}"
1109
1110 # SRC_URI = "git://${KSRC};nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
1106 </literallayout> 1111 </literallayout>
1107 </para> 1112 </para>
1108 1113