diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2018-08-27 09:14:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-28 10:30:43 +0100 |
commit | accd9e7b62b263446f2969be6f4915a61f3cfcb9 (patch) | |
tree | 7906852b15b29a0868a958a131118f562943f783 | |
parent | 2d3a811338f20f9cd7403064be6e8c395dc1eac5 (diff) | |
download | poky-accd9e7b62b263446f2969be6f4915a61f3cfcb9.tar.gz |
dev-manual: Updates to section on multiconfig builds
* Added qualifying text indicating that you can build images or
packages. In other words, the multiconfig does not necessarily
have to be an image. It can be a package as well.
* Added qualifying text describing that it is not a requirement
to have separate TMPDIRs for each multiconfig. I used a build
for two multiconfigs of "qemux86" for different DISTROs as
a case.
(From yocto-docs rev: 6e5ed0d1ab305c3382fea55fc1a2deaac0b7d518)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 2a93ce9c2d..cd7a435106 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -5326,9 +5326,9 @@ | |||
5326 | 5326 | ||
5327 | <para> | 5327 | <para> |
5328 | You can use a single <filename>bitbake</filename> command | 5328 | You can use a single <filename>bitbake</filename> command |
5329 | to build multiple images for different targets where each | 5329 | to build multiple images or packages for different targets |
5330 | image requires a different configuration (multiple | 5330 | where each image or package requires a different configuration |
5331 | configuration builds). | 5331 | (multiple configuration builds). |
5332 | The builds, in this scenario, are sometimes referred to as | 5332 | The builds, in this scenario, are sometimes referred to as |
5333 | "multiconfigs", and this section uses that term throughout. | 5333 | "multiconfigs", and this section uses that term throughout. |
5334 | </para> | 5334 | </para> |
@@ -5363,8 +5363,18 @@ | |||
5363 | Minimally, each configuration file must define the | 5363 | Minimally, each configuration file must define the |
5364 | machine and the temporary directory BitBake uses | 5364 | machine and the temporary directory BitBake uses |
5365 | for the build. | 5365 | for the build. |
5366 | You must not overlap the temporary directories | 5366 | Suggested practice dictates that you do not |
5367 | used during the build.</para> | 5367 | overlap the temporary directories |
5368 | used during the builds. | ||
5369 | However, it is possible that you can share the | ||
5370 | temporary directory | ||
5371 | (<ulink url='&YOCTO_DOCS_REF_URL;#var-TMPDIR'><filename>TMPDIR</filename></ulink>). | ||
5372 | For example, consider a scenario with two | ||
5373 | different multiconfigs for the same | ||
5374 | <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>: "qemux86" built for | ||
5375 | two distributions such as "poky" and "poky-lsb". | ||
5376 | In this case, you might want to use the same | ||
5377 | <filename>TMPDIR</filename>.</para> | ||
5368 | 5378 | ||
5369 | <para>Here is an example showing the minimal | 5379 | <para>Here is an example showing the minimal |
5370 | statements needed in a configuration file for | 5380 | statements needed in a configuration file for |