1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

dev-manual, kernel-manual: Added links to THISDIR variable

There is now a glossary description for the THISDIR variable
in ref-manual.  I added some cross-reference links to the
variable in key places of these two manuals.

(From yocto-docs rev: d5e01204b864b81782be33d8119c05ef328f3fd7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>

Conflicts:

	documentation/dev-manual/dev-manual-common-tasks.xml
	documentation/kernel-dev/kernel-dev-common.xml

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2013-05-29 14:09:04 +03:00
committed by Richard Purdie
parent a0f4706d23
commit 2dcd1f0604
3 changed files with 143 additions and 140 deletions
@@ -445,7 +445,7 @@
<para> <para>
The statement in this example extends the directories to include The statement in this example extends the directories to include
<filename>${THISDIR}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename>, <filename>${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-THISDIR'><filename>THISDIR</filename></ulink><filename>}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename>,
which resolves to a directory named which resolves to a directory named
<filename>formfactor</filename> in the same directory <filename>formfactor</filename> in the same directory
in which the append file resides (i.e. in which the append file resides (i.e.
@@ -203,7 +203,7 @@
<filename>oe-core/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb</filename> <filename>oe-core/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb</filename>
to a recipe in your layer, <filename>FILESEXTRAPATHS</filename> to a recipe in your layer, <filename>FILESEXTRAPATHS</filename>
is typically set to is typically set to
<filename>${THISDIR}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename>. <filename>${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-THISDIR'><filename>THISDIR</filename></ulink><filename>}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename>.
See the "<link linkend='modifying-an-existing-recipe'>Modifying an Existing Recipe</link>" See the "<link linkend='modifying-an-existing-recipe'>Modifying an Existing Recipe</link>"
section for more information. section for more information.
</para> </para>
@@ -92,10 +92,13 @@
<literallayout class='monospaced'> <literallayout class='monospaced'>
<ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'>FILESEXTRAPATHS</ulink> := "${THISDIR}/${PN}" <ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'>FILESEXTRAPATHS</ulink> := "${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>${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-THISDIR'><filename>THISDIR</filename></ulink><filename>}/${</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink><filename>}</filename>
to "linux-yocto" in the current directory for this example. expands to "linux-yocto" in the current directory for this
If you add any new files that modify the kernel recipe, example.
you need to place them in your layer in the following area: If you add any new files that modify the kernel recipe and you
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'>
&lt;your-layer&gt;/recipes-kernel/linux/linux-yocto/ &lt;your-layer&gt;/recipes-kernel/linux/linux-yocto/
</literallayout> </literallayout>