diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 37 |
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)." |