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: 0d0f756c142c506a66ebc6a1a33e9f124dafd333)

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 36828be835
commit 4f41a86018
3 changed files with 5 additions and 4 deletions

View File

@ -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.

View File

@ -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>

View File

@ -97,8 +97,9 @@
<literallayout class='monospaced'> <literallayout class='monospaced'>
FILESEXTRAPATHS_prepend := "${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>${</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
example.
If you add any new files that modify the kernel recipe and you If you add any new files that modify the kernel recipe and you
have extended <filename>FILESPATH</filename> as have extended <filename>FILESPATH</filename> as
described above, you must place the files in your layer in the described above, you must place the files in your layer in the