diff options
| -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> |
