From 05d810199002f6c521b08f33f451849fd3e4caa9 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 17 Sep 2015 10:24:46 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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)."