diff options
Diffstat (limited to 'documentation/kernel-dev/kernel-dev-common.xml')
-rw-r--r-- | documentation/kernel-dev/kernel-dev-common.xml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 6f39a70dff..e18eb31923 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml | |||
@@ -88,14 +88,21 @@ | |||
88 | <literallayout class='monospaced'> | 88 | <literallayout class='monospaced'> |
89 | <your-layer>/recipes-kernel/linux/linux-yocto_3.4.bbappend | 89 | <your-layer>/recipes-kernel/linux/linux-yocto_3.4.bbappend |
90 | </literallayout> | 90 | </literallayout> |
91 | The append file should initially contain the following text: | 91 | The append file should initially extend the |
92 | <ulink url='&YOCTO_DOCS_REF_URL;#var-FILESPATH'><filename>FILESPATH</filename></ulink> | ||
93 | search path by prepending the directory that contains your | ||
94 | files to the | ||
95 | <ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'><filename>FILESEXTRAPATHS</filename></ulink> | ||
96 | variable as follows: | ||
92 | <literallayout class='monospaced'> | 97 | <literallayout class='monospaced'> |
93 | <ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'>FILESEXTRAPATHS</ulink> := "${THISDIR}/${PN}" | 98 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}" |
94 | </literallayout> | 99 | </literallayout> |
95 | The path <filename>${THISDIR}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename> expands | 100 | The path <filename>${THISDIR}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename> expands |
96 | to "linux-yocto" in the current directory for this example. | 101 | to "linux-yocto" in the current directory for this example. |
97 | If you add any new files that modify the kernel recipe, | 102 | If you add any new files that modify the kernel recipe and you |
98 | you need to place them in your layer in the following area: | 103 | have extended <filename>FILESPATH</filename> as |
104 | described above, you must place the files in your layer in the | ||
105 | following area: | ||
99 | <literallayout class='monospaced'> | 106 | <literallayout class='monospaced'> |
100 | <your-layer>/recipes-kernel/linux/linux-yocto/ | 107 | <your-layer>/recipes-kernel/linux/linux-yocto/ |
101 | </literallayout> | 108 | </literallayout> |