diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-05-22 22:30:45 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-30 16:32:15 +0100 |
commit | 594833891de88c057e8c39eb648996bb757cbaed (patch) | |
tree | 6f638b31422ba6b9fee654f1f08bd923a4d235a2 | |
parent | 566b9bc5b22821806e6a1ba5513a0759e65caa5e (diff) | |
download | poky-594833891de88c057e8c39eb648996bb757cbaed.tar.gz |
ref-manual: Added PRIVATE_LIBS variable and supporting links.
(From yocto-docs rev: f4e8652581fe99a0d833242a8483ed637e55e3a5)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/ref-qa-checks.xml | 3 | ||||
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 34 |
2 files changed, 35 insertions, 2 deletions
diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index e17fc2c216..16203e6dbf 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml | |||
@@ -735,7 +735,8 @@ | |||
735 | picked up as the provider for a common library. | 735 | picked up as the provider for a common library. |
736 | If that is the case, you should add the library's | 736 | If that is the case, you should add the library's |
737 | <filename>.so</filename> file name to | 737 | <filename>.so</filename> file name to |
738 | <filename>PRIVATE_LIBS</filename> in the recipe that provides | 738 | <link linkend='var-PRIVATE_LIBS'><filename>PRIVATE_LIBS</filename></link> |
739 | in the recipe that provides | ||
739 | the private version of the library. | 740 | the private version of the library. |
740 | </para></listitem> | 741 | </para></listitem> |
741 | </itemizedlist> | 742 | </itemizedlist> |
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index d7f6a8bfb1..cd235e633e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -6133,7 +6133,39 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
6133 | </glossdef> | 6133 | </glossdef> |
6134 | </glossentry> | 6134 | </glossentry> |
6135 | 6135 | ||
6136 | <glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm> | 6136 | <glossentry id='var-PRIVATE_LIBS'><glossterm>PRIVATE_LIBS</glossterm> |
6137 | <glossdef> | ||
6138 | <para> | ||
6139 | Specifies libraries installed within a recipe that | ||
6140 | should be ignored by the OpenEmbedded build system's | ||
6141 | shared library resolver. | ||
6142 | This variable is typically used when software being | ||
6143 | built by a recipe has its own private versions of a | ||
6144 | library normally provided by another recipe. | ||
6145 | In this case, you would not want the package containing | ||
6146 | the private libraries to be set as a dependency on other | ||
6147 | unrelated packages that should instead depend on the | ||
6148 | package providing the standard version of the library. | ||
6149 | </para> | ||
6150 | |||
6151 | <para> | ||
6152 | Libraries specified in this variable should be specified | ||
6153 | by their file name. | ||
6154 | For example, from the Firefox recipe in meta-browser: | ||
6155 | <literallayout class='monospaced'> | ||
6156 | PRIVATE_LIBS = "libmozjs.so \ | ||
6157 | libxpcom.so \ | ||
6158 | libnspr4.so \ | ||
6159 | libxul.so \ | ||
6160 | libmozalloc.so \ | ||
6161 | libplc4.so \ | ||
6162 | libplds4.so" | ||
6163 | </literallayout> | ||
6164 | </para> | ||
6165 | </glossdef> | ||
6166 | </glossentry> | ||
6167 | |||
6168 | <glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm> | ||
6137 | <glossdef> | 6169 | <glossdef> |
6138 | <para> | 6170 | <para> |
6139 | A list of aliases that a recipe also provides. | 6171 | A list of aliases that a recipe also provides. |