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 @@ + EXCLUDE_FROM_SHLIB + + EXCLUDE_FROM_SHLIB[doc] = "Prevents exposure of a package to all of the package's libraries." + + + + + Prevents exposing a package to all of the package's + libraries. + The EXCLUDE_FROM_SHLIB variable is + useful for prebuilt packages that should not be exposed + to any of the package's libraries. + In other words, you want to skip the + shlib procedure for the package. + + + + Use the variable by setting it to "1" for a particular + package: + + EXCLUDE_FROM_SHLIB = "1" + + + + + You can achieve similar results by using the + PRIVATE_LIBS + variable. + However, with the PRIVATE_LIBS + variable, you must specifically list all of a package's + libraries. + Using the EXCLUDE_FROM_SHLIB variable, + allows you to quickly prevent exposure to all the libraries. + + + + EXCLUDE_FROM_WORLD EXCLUDE_FROM_WORLD[doc] = "Directs BitBake to exclude a recipe from world builds (i.e. bitbake world)."