diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2018-09-05 09:31:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-04 14:33:10 +0100 |
commit | 836f994ec530ba82c935cb41e006d1f128885dc2 (patch) | |
tree | c536706e85ed5dc7ffd3379daf635d4788b84c01 /doc/bitbake-user-manual/bitbake-user-manual-intro.xml | |
parent | f2d432674b187685591f60cec3b2980b377c63fe (diff) | |
download | bitbake-836f994ec530ba82c935cb41e006d1f128885dc2.tar.gz |
bitbake-user-manual: Added BBMULTICONFIG support
The BBMULTICONFIG variable is a variable used for BitBake and was
not documented in the BitBake Manual glossary. I added the
definition. I also added the variable to the example in the section
describing how to execute builds for multiple configurations.
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Diffstat (limited to 'doc/bitbake-user-manual/bitbake-user-manual-intro.xml')
-rw-r--r-- | doc/bitbake-user-manual/bitbake-user-manual-intro.xml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/doc/bitbake-user-manual/bitbake-user-manual-intro.xml index 1dbf141c9..47c8d5d89 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-intro.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-intro.xml @@ -769,11 +769,23 @@ <para> Aside from separate configuration files for each - target, you have to enable BitBake to perform multiple - configuration builds by enabling it in the local + target, you must also enable BitBake to perform multiple + configuration builds. + Enabling is accomplished by setting the + <link linkend='var-BBMULTICONFIG'><filename>BBMULTICONFIG</filename></link> + variable in the <filename>local.conf</filename> configuration file. - Enabling is accomplished through a variable specific - to the build environment. + As an example, suppose you had configuration files + for <filename>target1</filename> and + <filename>target2</filename> defined in the build + directory. + The following statement in the + <filename>local.conf</filename> file both enables + BitBake to perform multiple configuration builds and + specifies the two multiconfigs: + <literallayout class='monospaced'> + BBMULTICONFIG = "target1 target2" + </literallayout> </para> <para> @@ -785,10 +797,10 @@ $ bitbake [multiconfig:<replaceable>multiconfigname</replaceable>:]<replaceable>target</replaceable> [[[multiconfig:<replaceable>multiconfigname</replaceable>:]<replaceable>target</replaceable>] ... ] </literallayout> Here is an example for two multiconfigs: - <filename>Target_1</filename> and - <filename>Target_2</filename>: + <filename>target1</filename> and + <filename>target2</filename>: <literallayout class='monospaced'> - $ bitbake multiconfig:Target_1:<replaceable>target</replaceable> multiconfig:Target_2:<replaceable>target</replaceable> + $ bitbake multiconfig:target1:<replaceable>target</replaceable> multiconfig:target2:<replaceable>target</replaceable> </literallayout> </para> </section> |