summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2015-09-17 10:24:46 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-21 23:06:21 +0100
commit05d810199002f6c521b08f33f451849fd3e4caa9 (patch)
treeab7ac701c7fb11c8a97c34b716cbb7d45d3093d5 /documentation
parent316d432642733a98ab4abc8caa8a7af7231af780 (diff)
downloadpoky-05d810199002f6c521b08f33f451849fd3e4caa9.tar.gz
ref-manual: Added new EXCLUDE_FROM_SHLIB variable
Fixes [YOCTO #8066] Added a new description to the variable glossary. (From yocto-docs rev: ccb23c5a318f1640718ed41dc7ea2fd1bb8a43a1) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 7424f86c6c..1357386ddf 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -3533,6 +3533,43 @@
3533 </glossdef> 3533 </glossdef>
3534 </glossentry> 3534 </glossentry>
3535 3535
3536 <glossentry id='var-EXCLUDE_FROM_SHLIB'><glossterm>EXCLUDE_FROM_SHLIB</glossterm>
3537 <info>
3538 EXCLUDE_FROM_SHLIB[doc] = "Prevents exposure of a package to all of the package's libraries."
3539 </info>
3540 <glossdef>
3541 <para role="glossdeffirst">
3542<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
3543 Prevents exposing a package to all of the package's
3544 libraries.
3545 The <filename>EXCLUDE_FROM_SHLIB</filename> variable is
3546 useful for prebuilt packages that should not be exposed
3547 to any of the package's libraries.
3548 In other words, you want to skip the
3549 <filename>shlib</filename> procedure for the package.
3550 </para>
3551
3552 <para>
3553 Use the variable by setting it to "1" for a particular
3554 package:
3555 <literallayout class='monospaced'>
3556 EXCLUDE_FROM_SHLIB = "1"
3557 </literallayout>
3558 </para>
3559
3560 <para>
3561 You can achieve similar results by using the
3562 <link linkend='var-PRIVATE_LIBS'><filename>PRIVATE_LIBS</filename></link>
3563 variable.
3564 However, with the <filename>PRIVATE_LIBS</filename>
3565 variable, you must specifically list all of a package's
3566 libraries.
3567 Using the <filename>EXCLUDE_FROM_SHLIB</filename> variable,
3568 allows you to quickly prevent exposure to all the libraries.
3569 </para>
3570 </glossdef>
3571 </glossentry>
3572
3536 <glossentry id='var-EXCLUDE_FROM_WORLD'><glossterm>EXCLUDE_FROM_WORLD</glossterm> 3573 <glossentry id='var-EXCLUDE_FROM_WORLD'><glossterm>EXCLUDE_FROM_WORLD</glossterm>
3537 <info> 3574 <info>
3538 EXCLUDE_FROM_WORLD[doc] = "Directs BitBake to exclude a recipe from world builds (i.e. bitbake world)." 3575 EXCLUDE_FROM_WORLD[doc] = "Directs BitBake to exclude a recipe from world builds (i.e. bitbake world)."