[yocto] [PATCH] ref-manual: add EXCLUDE_PACKAGES_FROM_SHLIBS description

2018-12-10 Thread Oleksii Konoplitskyi

Some packages containing shared libraries might be registered as shlib
providers when they shouldn't (for example, the lib is for their private use
and must not generate any dependency).

EXCLUDE_FROM_SHLIBS is targeted at that, but it could be set for entire
recipe
only.

Variable EXCLUDE_PACKAGES_FROM_SHLIBS allows to set list of packages
that are
not candidates for shlib providers.

Signed-off-by:OleksiiKonoplitskyi
---
  documentation/ref-manual/ref-variables.xml | 28

  1 file changed, 28 insertions(+)

diff --git a/documentation/ref-manual/ref-variables.xml
b/documentation/ref-manual/ref-variables.xml
index 595f2db..98d3f86 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -4289,6 +4289,34 @@



+ EXCLUDE_PACKAGES_FROM_SHLIBS
+ 
+ EXCLUDE_PACKAGES_FROM_SHLIBS[doc] = "Causes the
OpenEmbedded build system's shared libraries resolver to exclude
packages when scanning for shared libraries."
+ 
+ 
+ 
+
+ Triggers the OpenEmbedded build system's shared
libraries
+ resolver to exclude packages when scanning for
+ shared libraries.
+ The
EXCLUDE_PACKAGES_FROM_SHLIBS variable is
+ similar to the
+ EXCLUDE_FROM_SHLIBS
+ variable, which excludes all the packages provided
by recipe
+ and not excludes particular package.
+ 
+
+ 
+ Use the
+ EXCLUDE_PACKAGES_FROM_SHLIBS variable as a list
of packages that
+ are not candidates for shared libraries providers:
+ 
+ EXCLUDE_PACKAGES_FROM_SHLIBS += "glibc-ptest glibc-dev"
+ 
+ 
+ 
+ 
+
EXCLUDE_FROM_WORLD

EXCLUDE_FROM_WORLD[doc] = "Directs BitBake to exclude
a recipe from world builds (i.e. bitbake world)."
--
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] ref-manual: add EXCLUDE_PACKAGES_FROM_SHLIBS description

2018-11-15 Thread Oleksii Konoplitskyi

Some packages containing shared libraries might be registered as shlib
providers when they shouldn't (for example, the lib is for their private use
and must not generate any dependency).

EXCLUDE_FROM_SHLIBS is targeted at that, but it could be set for entire 
recipe

only.

Variable EXCLUDE_PACKAGES_FROM_SHLIBS allows to set list of packages 
that are

not candidates for shlib providers.

Signed-off-by: Oleksii Konoplitskyi 
---
 documentation/ref-manual/ref-variables.xml | 28 


 1 file changed, 28 insertions(+)

diff --git a/documentation/ref-manual/ref-variables.xml 
b/documentation/ref-manual/ref-variables.xml

index 595f2db..98d3f86 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -4289,6 +4289,34 @@
 
 

+    id='var-EXCLUDE_PACKAGES_FROM_SHLIBS'>EXCLUDE_PACKAGES_FROM_SHLIBS

+    
+    EXCLUDE_PACKAGES_FROM_SHLIBS[doc] = "Causes the 
OpenEmbedded build system's shared libraries resolver to exclude 
packages when scanning for shared libraries."

+    
+    
+    
+
+    Triggers the OpenEmbedded build system's shared 
libraries

+    resolver to exclude packages when scanning for
+    shared libraries.
+    The 
EXCLUDE_PACKAGES_FROM_SHLIBS variable is

+    similar to the
+    linkend='var-EXCLUDE_FROM_SHLIBS'>EXCLUDE_FROM_SHLIBS
+    variable, which excludes all the packages provided 
by recipe

+    and not excludes particular package.
+    
+
+    
+    Use the
+ EXCLUDE_PACKAGES_FROM_SHLIBS variable as a list 
of packages that

+    are not candidates for shared libraries providers:
+    
+ EXCLUDE_PACKAGES_FROM_SHLIBS += "glibc-ptest glibc-dev"
+    
+    
+    
+    
+
 id='var-EXCLUDE_FROM_WORLD'>EXCLUDE_FROM_WORLD

 
 EXCLUDE_FROM_WORLD[doc] = "Directs BitBake to exclude 
a recipe from world builds (i.e. bitbake world)."

--
2.7.4

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto