mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
kernel-dev: Updates to "Creating the Append File" section.
Pointed out by Robert P. J. Day that I was using the wrong FILESEXTRAPATHS example for an append file. I failed to include the "_prepend" part of the variable. Also, the wording based on the example made some assumptions and was not entirely accurate. The changes I put in made the section very specific. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> (From yocto-docs rev: 659c5a9c41a92f469ea0ea3630e11b4ba2df8f56) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b47c993ca0
commit
68deb6c14f
@@ -88,14 +88,21 @@
|
|||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
<your-layer>/recipes-kernel/linux/linux-yocto_3.4.bbappend
|
<your-layer>/recipes-kernel/linux/linux-yocto_3.4.bbappend
|
||||||
</literallayout>
|
</literallayout>
|
||||||
The append file should initially contain the following text:
|
The append file should initially extend the
|
||||||
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-FILESPATH'><filename>FILESPATH</filename></ulink>
|
||||||
|
search path by prepending the directory that contains your
|
||||||
|
files to the
|
||||||
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'><filename>FILESEXTRAPATHS</filename></ulink>
|
||||||
|
variable as follows:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'>FILESEXTRAPATHS</ulink> := "${THISDIR}/${PN}"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
The path <filename>${THISDIR}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename> expands
|
The path <filename>${THISDIR}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename> expands
|
||||||
to "linux-yocto" in the current directory for this example.
|
to "linux-yocto" in the current directory for this example.
|
||||||
If you add any new files that modify the kernel recipe,
|
If you add any new files that modify the kernel recipe and you
|
||||||
you need to place them in your layer in the following area:
|
have extended <filename>FILESPATH</filename> as
|
||||||
|
described above, you must place the files in your layer in the
|
||||||
|
following area:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
<your-layer>/recipes-kernel/linux/linux-yocto/
|
<your-layer>/recipes-kernel/linux/linux-yocto/
|
||||||
</literallayout>
|
</literallayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user