should the dev manual "libraries" sections explain "oe_libinstall"?
while the "Working with Pre-Built Libraries" section:
https://docs.yoctoproject.org/dev-manual/prebuilt-libraries.html
explains the "oe_soinstall" utility, i see nothing anywhere in the docs that explains the similar "oe_libinstall" utility, for which there are a few examples scattered around, such as mtd-utils:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/mtd/mtd-utils_2.3.1.bb
does this deserve a mention?
rday
Quoted 5 lines · Robert P. J. Day
while the "Working with Pre-Built Libraries" section:
https://docs.yoctoproject.org/dev-manual/prebuilt-libraries.html
Quoted 7 lines
explains the "
oe_soinstall" utility, i see nothing anywhere in the docs that explains the similar "oe_libinstall" utility, for which there are a few examples scattered around, such as mtd-utils:https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/mtd/mtd-utils_2.3.1.bb
does this deserve a mention?
Yes please
Antonin
Quoted 10 lines · Antonin Godard
Quoted 9 lines · Robert P. J. Day
while the "Working with Pre-Built Libraries" section:
https://docs.yoctoproject.org/dev-manual/prebuilt-libraries.html
explains the "
oe_soinstall" utility, i see nothing anywhere in the docs that explains the similar "oe_libinstall" utility, for which there are a few examples scattered around, such as mtd-utils:
Quoted 5 lines
Quoted 3 lines
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/mtd/mtd-utils_2.3.1.bb
does this deserve a mention?
Yes please
oddly(?), while i have a couple dozen layers checked out, i could
not find a single invocation of "oe_soinstall()" anywhere in any of those layers. i did find a number of calls to "oe_libinstall()" so while that's worth documenting, is the former even being used?
rday
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Robert P. J. Day
Quoted 12 lines · Antonin Godard
Quoted 11 lines · Robert P. J. Day
while the "Working with Pre-Built Libraries" section:
https://docs.yoctoproject.org/dev-manual/prebuilt-libraries.html
explains the "
oe_soinstall" utility, i see nothing anywhere in the docs that explains the similar "oe_libinstall" utility, for which there are a few examples scattered around, such as mtd-utils:https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/mtd/mtd-utils_2.3.1.bb
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
does this deserve a mention?
Yes please
oddly(?), while i have a couple dozen layers checked out, i could
not find a single invocation of "oe_soinstall()" anywhere in any of those layers. i did find a number of calls to "oe_libinstall()" so while that's worth documenting, is the former even being used?
never mind, i finally clued in to the fact that oe_soinstall is
meant to be used in the context of out-of-tree or vendor-specific recipes, so one should not expect to find it in "normal" OE/YP layers.
rday
Quoted 10 lines · Antonin Godard
Quoted 9 lines · Robert P. J. Day
while the "Working with Pre-Built Libraries" section:
https://docs.yoctoproject.org/dev-manual/prebuilt-libraries.html
explains the "
oe_soinstall" utility, i see nothing anywhere in the docs that explains the similar "oe_libinstall" utility, for which there are a few examples scattered around, such as mtd-utils:
Quoted 5 lines
Quoted 3 lines
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/mtd/mtd-utils_2.3.1.bb
does this deserve a mention?
Yes please
after a quick check, maybe it's not worth documenting this utility -- google AI suggests the following:
oe_libinstall is a legacy shell helper function in the OpenEmbedded / Yocto Project build framework used to install a library and all its compiled variants (such as .a, .so, .la, and .lai files) into a specified destination directory.
Historically, it was primarily utilized during the do_stage task (which has since been deprecated) or inside custom do_install tasks to automate the handling of multi-format library files.
...
If you are writing modern Yocto/OpenEmbedded recipes, you should avoid using oe_libinstall.
The Modern Way: Standard build systems like Autotools, CMake, or Meson handle library generation and staging automatically via oe_runmake install.
so is it still worth documenting something that is legacy and deprecated? or would it make more sense to upgrade the recipes to not use this utility anymore?
rday