diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-04-12 12:39:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-18 16:28:23 +0100 |
commit | ecb2eb66769e651941a10e6a55a3b0654da752a3 (patch) | |
tree | 7ae052205ed3fe61e1003d037c0d35dbbdc18191 /documentation | |
parent | 004b939d1b5882db65d882633d3a3b8d22814779 (diff) | |
download | poky-ecb2eb66769e651941a10e6a55a3b0654da752a3.tar.gz |
dev-manual: Updated "Additional Implementation Details" section
Fixes [YOCTO #5517]
I added two package management system generic implementation
details to the section. This brings the section up to speed
as the definitive work on combining multiple versions of library
files into one image. We no longer have to refer the reader
to a separate wiki page.
(From yocto-docs rev: 450e718ca1b853f332c4e607a5a76efd689f7769)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 44 |
1 files changed, 34 insertions, 10 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 828fbf4c3a..00cad99599 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -3495,14 +3495,7 @@ | |||
3495 | </para> | 3495 | </para> |
3496 | 3496 | ||
3497 | <para> | 3497 | <para> |
3498 | This section overviews the Multilib process only. | 3498 | Several examples exist in the |
3499 | For more details on how to implement Multilib, see the | ||
3500 | <ulink url='&YOCTO_WIKI_URL;/wiki/Multilib'>Multilib</ulink> wiki | ||
3501 | page. | ||
3502 | </para> | ||
3503 | |||
3504 | <para> | ||
3505 | Aside from this wiki page, several examples exist in the | ||
3506 | <filename>meta-skeleton</filename> layer found in the | 3499 | <filename>meta-skeleton</filename> layer found in the |
3507 | <link linkend='source-directory'>Source Directory</link>: | 3500 | <link linkend='source-directory'>Source Directory</link>: |
3508 | <itemizedlist> | 3501 | <itemizedlist> |
@@ -3603,8 +3596,39 @@ | |||
3603 | <title>Additional Implementation Details</title> | 3596 | <title>Additional Implementation Details</title> |
3604 | 3597 | ||
3605 | <para> | 3598 | <para> |
3606 | Different packaging systems have different levels of native Multilib | 3599 | Generic implementation details as well as details that are |
3607 | support. | 3600 | specific to package management systems exist. |
3601 | Following are implementation details that exist regardless | ||
3602 | of the package management system: | ||
3603 | <itemizedlist> | ||
3604 | <listitem><para>The typical convention used for the | ||
3605 | class extension code as used by | ||
3606 | Multilib assumes that all package names specified | ||
3607 | in | ||
3608 | <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGES'><filename>PACKAGES</filename></ulink> | ||
3609 | that contain <filename>${PN}</filename> have | ||
3610 | <filename>${PN}</filename> at the start of the name. | ||
3611 | When that convention is not followed and | ||
3612 | <filename>${PN}</filename> appears at | ||
3613 | the middle or the end of a name, problems occur. | ||
3614 | </para></listitem> | ||
3615 | <listitem><para>The | ||
3616 | <ulink url='&YOCTO_DOCS_REF_URL;#var-TARGET_VENDOR'><filename>TARGET_VENDOR</filename></ulink> | ||
3617 | value under Multilib will be extended to | ||
3618 | "-<replaceable>vendor</replaceable>ml<replaceable>multilib</replaceable>" | ||
3619 | (e.g. "-pokymllib32" for a "lib32" Multilib with | ||
3620 | Poky). | ||
3621 | The reason for this slightly unwieldy contraction | ||
3622 | is that any "-" characters in the vendor | ||
3623 | string presently break Autoconf's | ||
3624 | <filename>config.sub</filename>, and | ||
3625 | other separators are problematic for different | ||
3626 | reasons. | ||
3627 | </para></listitem> | ||
3628 | </itemizedlist> | ||
3629 | </para> | ||
3630 | ' | ||
3631 | <para> | ||
3608 | For the RPM Package Management System, the following implementation details | 3632 | For the RPM Package Management System, the following implementation details |
3609 | exist: | 3633 | exist: |
3610 | <itemizedlist> | 3634 | <itemizedlist> |