summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml26
1 files changed, 19 insertions, 7 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
index 1dbf141c9e..47c8d5d89b 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
@@ -769,11 +769,23 @@
769 769
770 <para> 770 <para>
771 Aside from separate configuration files for each 771 Aside from separate configuration files for each
772 target, you have to enable BitBake to perform multiple 772 target, you must also enable BitBake to perform multiple
773 configuration builds by enabling it in the local 773 configuration builds.
774 Enabling is accomplished by setting the
775 <link linkend='var-BBMULTICONFIG'><filename>BBMULTICONFIG</filename></link>
776 variable in the <filename>local.conf</filename>
774 configuration file. 777 configuration file.
775 Enabling is accomplished through a variable specific 778 As an example, suppose you had configuration files
776 to the build environment. 779 for <filename>target1</filename> and
780 <filename>target2</filename> defined in the build
781 directory.
782 The following statement in the
783 <filename>local.conf</filename> file both enables
784 BitBake to perform multiple configuration builds and
785 specifies the two multiconfigs:
786 <literallayout class='monospaced'>
787 BBMULTICONFIG = "target1 target2"
788 </literallayout>
777 </para> 789 </para>
778 790
779 <para> 791 <para>
@@ -785,10 +797,10 @@
785 $ bitbake [multiconfig:<replaceable>multiconfigname</replaceable>:]<replaceable>target</replaceable> [[[multiconfig:<replaceable>multiconfigname</replaceable>:]<replaceable>target</replaceable>] ... ] 797 $ bitbake [multiconfig:<replaceable>multiconfigname</replaceable>:]<replaceable>target</replaceable> [[[multiconfig:<replaceable>multiconfigname</replaceable>:]<replaceable>target</replaceable>] ... ]
786 </literallayout> 798 </literallayout>
787 Here is an example for two multiconfigs: 799 Here is an example for two multiconfigs:
788 <filename>Target_1</filename> and 800 <filename>target1</filename> and
789 <filename>Target_2</filename>: 801 <filename>target2</filename>:
790 <literallayout class='monospaced'> 802 <literallayout class='monospaced'>
791 $ bitbake multiconfig:Target_1:<replaceable>target</replaceable> multiconfig:Target_2:<replaceable>target</replaceable> 803 $ bitbake multiconfig:target1:<replaceable>target</replaceable> multiconfig:target2:<replaceable>target</replaceable>
792 </literallayout> 804 </literallayout>
793 </para> 805 </para>
794 </section> 806 </section>